Skip to content

Commit

Permalink
Properly fix Info.plist
Browse files Browse the repository at this point in the history
  • Loading branch information
scribblemaniac committed Jul 20, 2019
1 parent 717d253 commit 2ba8e8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ after_success:
echo "cleaning...";
make clean;
mv bin Pencil2D;
echo "Fixing info.plist";
cd Pencil2D;
plutil -replace CFBundleExecutable -string pencil2d Pencil2D.app/Contents/Info.plist;
plutil -replace CFBundleIdentifier -string org.pencil2d.Pencil2D Pencil2D.app/Contents/Info.plist;
echo "Copying ffmpeg plugin";
mkdir Pencil2D.app/Contents/MacOS/plugins;
Expand Down
2 changes: 2 additions & 0 deletions app/app.pro
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ macx {
FILE_ICONS.path = Contents/Resources
QMAKE_BUNDLE_DATA += FILE_ICONS

QMAKE_TARGET_BUNDLE_PREFIX += org.pencil2d

LIBS += -framework AppKit
}

Expand Down
2 changes: 1 addition & 1 deletion app/data/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<key>CFBundleIconFile</key>
<string>pencil2d.icns</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down

0 comments on commit 2ba8e8d

Please sign in to comment.