ObjFW  Diff

Differences From Artifact [1abc9749ff]:

  • File utils/ofarc/OFArc.m — part of check-in [204b27318f] at 2022-11-13 19:07:37 on branch trunk — Add OFApplicationDidFinishLaunchingNotification (user: js size: 21719) [more...]

To Artifact [448648acfa]:

  • File utils/ofarc/OFArc.m — part of check-in [88ed5be671] at 2022-11-23 21:39:13 on branch trunk — Use a URI for the localization directory This theoretically allows embedding localizations. While this isn't great as all will be held in memory but only one will be used, there might be cases where everything should be in one binary. (user: js size: 21780)

203
204
205
206
207
208
209
210

211
212
213
214
215
216
217
218
219
220
	/* Dropped after parsing options */
	sandbox.allowsUnveil = true;

	[OFApplication of_activateSandbox: sandbox];
#endif

#ifndef OF_AMIGAOS
	[OFLocale addLocalizationDirectory: @LOCALIZATION_DIR];

#else
	[OFLocale addLocalizationDirectory:
	    @"PROGDIR:/share/ofarc/localization"];
#endif

	optionsParser = [OFOptionsParser parserWithOptions: options];
	while ((option = [optionsParser nextOption]) != '\0') {
		switch (option) {
		case 'f':
			if (_overwrite < 0)







|
>

|
|







203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
	/* Dropped after parsing options */
	sandbox.allowsUnveil = true;

	[OFApplication of_activateSandbox: sandbox];
#endif

#ifndef OF_AMIGAOS
	[OFLocale addLocalizationDirectoryURI:
	    [OFURI fileURIWithPath: @LOCALIZATION_DIR]];
#else
	[OFLocale addLocalizationDirectoryURI:
	    [OFURI fileURIWithPath: @"PROGDIR:/share/ofarc/localization"]];
#endif

	optionsParser = [OFOptionsParser parserWithOptions: options];
	while ((option = [optionsParser nextOption]) != '\0') {
		switch (option) {
		case 'f':
			if (_overwrite < 0)