Skip to content

Commit 9beb8d8

Browse files
committed
Move content.js to correct location in Extension bundle
The content script was incorrectly placed in Resources/ but Safari Web Extensions expect it at the extension root level, alongside manifest.json. Updated Xcode project references accordingly.
1 parent 0ade682 commit 9beb8d8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CF Cache Status/CF Cache Status Extension/Resources/content.js renamed to CF Cache Status/CF Cache Status Extension/content.js

File renamed without changes.

CF Cache Status/CF Cache Status.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
5B0588C82F084F880004883F /* content.js in Resources */ = {isa = PBXBuildFile; fileRef = 5B0588C72F084F880004883F /* content.js */; };
10+
5B0588CA2F08CB540004883F /* content.js in Resources */ = {isa = PBXBuildFile; fileRef = 5B0588C92F08CB540004883F /* content.js */; };
1111
5B8F9F0D2F07E4C50092E4D0 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B8F9F0C2F07E4C50092E4D0 /* AppDelegate.swift */; };
1212
5B8F9F112F07E4C50092E4D0 /* Main.html in Resources */ = {isa = PBXBuildFile; fileRef = 5B8F9F0F2F07E4C50092E4D0 /* Main.html */; };
1313
5B8F9F132F07E4C50092E4D0 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 5B8F9F122F07E4C50092E4D0 /* Icon.png */; };
@@ -51,7 +51,7 @@
5151
/* End PBXCopyFilesBuildPhase section */
5252

5353
/* Begin PBXFileReference section */
54-
5B0588C72F084F880004883F /* content.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = content.js; sourceTree = "<group>"; };
54+
5B0588C92F08CB540004883F /* content.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; path = content.js; sourceTree = "<group>"; };
5555
5B8F9F092F07E4C50092E4D0 /* CF Cache Status.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CF Cache Status.app"; sourceTree = BUILT_PRODUCTS_DIR; };
5656
5B8F9F0C2F07E4C50092E4D0 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
5757
5B8F9F102F07E4C50092E4D0 /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.html; name = Base; path = Base.lproj/Main.html; sourceTree = "<group>"; };
@@ -125,7 +125,6 @@
125125
5B8F9F0E2F07E4C50092E4D0 /* Resources */ = {
126126
isa = PBXGroup;
127127
children = (
128-
5B0588C72F084F880004883F /* content.js */,
129128
5B8F9F0F2F07E4C50092E4D0 /* Main.html */,
130129
5B8F9F122F07E4C50092E4D0 /* Icon.png */,
131130
5B8F9F142F07E4C50092E4D0 /* Style.css */,
@@ -147,6 +146,7 @@
147146
5B8F9F352F07E4C70092E4D0 /* Resources */ = {
148147
isa = PBXGroup;
149148
children = (
149+
5B0588C92F08CB540004883F /* content.js */,
150150
5B8F9F362F07E4C70092E4D0 /* popup.js */,
151151
5B8F9F372F07E4C70092E4D0 /* background.js */,
152152
5B8F9F382F07E4C70092E4D0 /* images */,
@@ -262,7 +262,7 @@
262262
5B8F9F412F07E4C70092E4D0 /* popup.css in Resources */,
263263
5B8F9F402F07E4C70092E4D0 /* manifest.json in Resources */,
264264
5B8F9F3D2F07E4C70092E4D0 /* background.js in Resources */,
265-
5B0588C82F084F880004883F /* content.js in Resources */,
265+
5B0588CA2F08CB540004883F /* content.js in Resources */,
266266
5B8F9F3C2F07E4C70092E4D0 /* popup.js in Resources */,
267267
);
268268
runOnlyForDeploymentPostprocessing = 0;

0 commit comments

Comments
 (0)