Skip to content

Commit

Permalink
🚀 fix mac build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Reverier-Xu committed Apr 8, 2024
1 parent 797fb48 commit 5b2ec44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fi
echo '---- Running macdeployqt'
cp build/bin/wsrx build/bin/wsrx-desktop.app/Contents/MacOS/wsrx
cp -r build/bin/wsrx-desktop.app $APP_NAME.app
macdeployqt $APP_NAME.app -qmldir=../desktop/components -qmldir=../desktop/ui -hardened-runtime -timestamp -appstore-compliant -dmg
macdeployqt $APP_NAME.app -qmldir=./desktop/components -qmldir=./desktop/ui -hardened-runtime -timestamp -appstore-compliant -dmg

#echo '---- Installation directory content recap (after macdeployqt):'
#find bin/
Expand Down
3 changes: 3 additions & 0 deletions desktop/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ static int setup_unix_signal_handlers() {
#endif

int main(int argc, char* argv[]) {
#ifdef Q_OS_MAC
QCoreApplication::addLibraryPath("PlugIns");
#endif
QApplication app(argc, argv);

QApplication::setApplicationName("wsrx");
Expand Down
2 changes: 1 addition & 1 deletion macos/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<string>wsrx-desktop</string>

<key>CFBundleIdentifier</key>
<string>com.emeric.WebSocketReflectorX</string>
<string>tech.woooo.wsrx</string>

<key>CFBundleVersion</key>
<string>0.2.1</string>
Expand Down

0 comments on commit 5b2ec44

Please sign in to comment.