Skip to content

Commit

Permalink
fix safari background (#512 (comment))
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Oct 30, 2023
1 parent 90f4880 commit 1dcc274
Show file tree
Hide file tree
Showing 4 changed files with 241 additions and 235 deletions.
194 changes: 0 additions & 194 deletions safari/project.patch
Original file line number Diff line number Diff line change
@@ -1,196 +1,2 @@
--- a/build/safari/Fission - ChatBox/Fission - ChatBox.xcodeproj/project.pbxproj
+++ b/build/safari/Fission - ChatBox/Fission - ChatBox.xcodeproj/project.pbxproj
@@ -675,6 +675,7 @@
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = SMGV55KD3K;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (Extension)/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Fission - ChatBox Extension";
@@ -690,7 +691,7 @@
"-framework",
SafariServices,
);
- PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.Fission---ChatBox.Extension";
+ PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.chatGPTBox.Extension";
PRODUCT_NAME = "Fission - ChatBox Extension";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
@@ -705,6 +706,7 @@
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = SMGV55KD3K;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (Extension)/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Fission - ChatBox Extension";
@@ -720,7 +722,7 @@
"-framework",
SafariServices,
);
- PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.Fission---ChatBox.Extension";
+ PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.chatGPTBox.Extension";
PRODUCT_NAME = "Fission - ChatBox Extension";
SDKROOT = iphoneos;
SKIP_INSTALL = YES;
@@ -738,10 +740,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = SMGV55KD3K;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (App)/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Fission - ChatBox";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
@@ -752,14 +756,14 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.0;
+ MARKETING_VERSION = 0.0.0;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
"-framework",
WebKit,
);
- PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.Fission---ChatBox";
+ PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.chatGPTBox";
PRODUCT_NAME = "Fission - ChatBox";
SDKROOT = iphoneos;
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -775,10 +779,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = SMGV55KD3K;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "iOS (App)/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Fission - ChatBox";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
@@ -789,14 +795,14 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.0;
+ MARKETING_VERSION = 0.0.0;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
"-framework",
WebKit,
);
- PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.Fission---ChatBox";
+ PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.chatGPTBox";
PRODUCT_NAME = "Fission - ChatBox";
SDKROOT = iphoneos;
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -812,6 +818,7 @@
CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/Fission - ChatBox.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = SMGV55KD3K;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "macOS (Extension)/Info.plist";
@@ -828,7 +835,7 @@
"-framework",
SafariServices,
);
- PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.Fission---ChatBox.Extension";
+ PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.chatGPTBox.Extension";
PRODUCT_NAME = "Fission - ChatBox Extension";
SDKROOT = macosx;
SKIP_INSTALL = YES;
@@ -843,6 +850,7 @@
CODE_SIGN_ENTITLEMENTS = "macOS (Extension)/Fission - ChatBox.entitlements";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = SMGV55KD3K;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "macOS (Extension)/Info.plist";
@@ -859,7 +867,7 @@
"-framework",
SafariServices,
);
- PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.Fission---ChatBox.Extension";
+ PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.chatGPTBox.Extension";
PRODUCT_NAME = "Fission - ChatBox Extension";
SDKROOT = macosx;
SKIP_INSTALL = YES;
@@ -876,11 +884,13 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "macOS (App)/Fission - ChatBox.entitlements";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = SMGV55KD3K;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "macOS (App)/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Fission - ChatBox";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_NSMainStoryboardFile = Main;
INFOPLIST_KEY_NSPrincipalClass = NSApplication;
LD_RUNPATH_SEARCH_PATHS = (
@@ -888,14 +898,14 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
- MARKETING_VERSION = 1.0;
+ MARKETING_VERSION = 0.0.0;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
"-framework",
WebKit,
);
- PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.Fission---ChatBox";
+ PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.chatGPTBox";
PRODUCT_NAME = "Fission - ChatBox";
SDKROOT = macosx;
SWIFT_EMIT_LOC_STRINGS = YES;
@@ -911,11 +921,13 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = "macOS (App)/Fission - ChatBox.entitlements";
CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 1;
+ CURRENT_PROJECT_VERSION = 1;
+ DEVELOPMENT_TEAM = SMGV55KD3K;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "macOS (App)/Info.plist";
INFOPLIST_KEY_CFBundleDisplayName = "Fission - ChatBox";
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities";
INFOPLIST_KEY_NSMainStoryboardFile = Main;
INFOPLIST_KEY_NSPrincipalClass = NSApplication;
LD_RUNPATH_SEARCH_PATHS = (
@@ -923,14 +935,14 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
- MARKETING_VERSION = 1.0;
+ MARKETING_VERSION = 0.0.0;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
"-framework",
WebKit,
);
- PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.Fission---ChatBox";
+ PRODUCT_BUNDLE_IDENTIFIER = "dev.josStorer.chatGPTBox";
PRODUCT_NAME = "Fission - ChatBox";
SDKROOT = macosx;
SWIFT_EMIT_LOC_STRINGS = YES;
2 changes: 1 addition & 1 deletion safari/project.pre.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"background.js"
],
- "persistent": true
+ "persistent": false
+ "persistent": true
},
"browser_action": {
"default_popup": "popup.html?popup=true"
Loading

0 comments on commit 1dcc274

Please sign in to comment.