Преглед на файлове

fix preferences for iOS 15 xina beta jailbreak

master
gilshahar7 преди 1 година
родител
ревизия
a1143d57c7
променени са 5 файла, в които са добавени 5 реда и са изтрити 5 реда
  1. +1
    -1
      Makefile
  2. +1
    -1
      control
  3. +2
    -2
      exacttimeprefs/ExactTimeprefs.mm
  4. +1
    -1
      exacttimeprefs/Makefile
  5. Двоични данни
      packages/com.gilshahar7.exacttime_2.0.1_iphoneos-arm.deb

+ 1
- 1
Makefile Целия файл

@@ -2,7 +2,7 @@ ARCHS = armv7 arm64 arm64e
export TARGET = iphone:clang:11.2:7.0
include $(THEOS)/makefiles/common.mk

DEBUG=0
FINALPACKAGE=1

TWEAK_NAME = ExactTime ExactTimeMail ExactTimePhone ExactTimeMessages
ExactTime_FILES = ExactTime.xm

+ 1
- 1
control Целия файл

@@ -2,7 +2,7 @@ Package: com.gilshahar7.exacttime
Name: ExactTime
Depends: mobilesubstrate
Conflicts: com.gilshahar7.exacttimemail, com.gilshahar7.exacttimephone, com.gilshahar7.exacttimemessages
Version: 2.0
Version: 2.0.1
Architecture: iphoneos-arm
Description: Shows the exact time of notifications, messages, calls and emails.
Maintainer: gilshahar7

+ 2
- 2
exacttimeprefs/ExactTimeprefs.mm Целия файл

@@ -12,14 +12,14 @@
@implementation ExactTimeprefsListController

- (id)readPreferenceValue:(PSSpecifier*)specifier {
NSString *path = [NSString stringWithFormat:@"/User/Library/Preferences/%@.plist", specifier.properties[@"defaults"]];
NSString *path = [NSString stringWithFormat:@"/var/mobile/Library/Preferences/%@.plist", specifier.properties[@"defaults"]];
NSMutableDictionary *settings = [NSMutableDictionary dictionary];
[settings addEntriesFromDictionary:[NSDictionary dictionaryWithContentsOfFile:path]];
return (settings[specifier.properties[@"key"]]) ?: specifier.properties[@"default"];
}

- (void)setPreferenceValue:(id)value specifier:(PSSpecifier*)specifier {
NSString *path = [NSString stringWithFormat:@"/User/Library/Preferences/%@.plist", specifier.properties[@"defaults"]];
NSString *path = [NSString stringWithFormat:@"/var/mobile/Library/Preferences/%@.plist", specifier.properties[@"defaults"]];
NSMutableDictionary *settings = [NSMutableDictionary dictionary];
[settings addEntriesFromDictionary:[NSDictionary dictionaryWithContentsOfFile:path]];
[settings setObject:value forKey:specifier.properties[@"key"]];

+ 1
- 1
exacttimeprefs/Makefile Целия файл

@@ -2,7 +2,7 @@ ARCHS = armv7 arm64 arm64e
export TARGET = iphone:clang:11.2:7.0
include $(THEOS)/makefiles/common.mk

DEBUG=0
FINALPACKAGE=1

BUNDLE_NAME = ExactTimeprefs
ExactTimeprefs_FILES = ExactTimeprefs.mm

Двоични данни
packages/com.gilshahar7.exacttime_2.0.1_iphoneos-arm.deb Целия файл


Loading…
Отказ
Запис