build: modify run logic for macOS dev builds so notifications work
This commit is contained in:
parent
33a77ab761
commit
89e42f960d
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Status Desktop DEV</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>nim_status_client</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>status-dev.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>im.Status.NimStatusClientDev</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>StatusDev</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.0</string>
|
||||
<key>IFMajorVersion</key>
|
||||
<integer>1</integer>
|
||||
<key>IFMinorVersion</key>
|
||||
<integer>0</integer>
|
||||
<key>NSHighResolutionCapable</key>
|
||||
<string>True</string>
|
||||
</dict>
|
||||
</plist>
|
16
Makefile
16
Makefile
|
@ -33,7 +33,6 @@ BUILD_SYSTEM_DIR := vendor/nimbus-build-system
|
|||
run-linux \
|
||||
run-macos \
|
||||
run-windows \
|
||||
set-status-macos-dev-icon \
|
||||
status-go \
|
||||
update
|
||||
|
||||
|
@ -408,17 +407,20 @@ $(ICON_TOOL):
|
|||
# Currently not in use: https://github.com/status-im/status-desktop/pull/1858
|
||||
# STATUS_PORT ?= 30306
|
||||
|
||||
set-status-macos-dev-icon: $(ICON_TOOL)
|
||||
npx fileicon set bin/nim_status_client status-dev.icns
|
||||
|
||||
run-linux:
|
||||
echo -e "\e[92mRunning:\e[39m bin/nim_status_client"
|
||||
LD_LIBRARY_PATH="$(QT5_LIBDIR)":"$(STATUSGO_LIBDIR)" \
|
||||
./bin/nim_status_client
|
||||
|
||||
run-macos: set-status-macos-dev-icon
|
||||
echo -e "\e[92mRunning:\e[39m bin/nim_status_client"
|
||||
./bin/nim_status_client
|
||||
run-macos: $(ICON_TOOL)
|
||||
mkdir -p bin/StatusDev.app/Contents/{MacOS,Resources}
|
||||
cp Info.dev.plist bin/StatusDev.app/Contents/Info.plist
|
||||
cp status-dev.icns bin/StatusDev.app/Contents/Resources/
|
||||
cd bin/StatusDev.app/Contents/MacOS && \
|
||||
ln -fs ../../../nim_status_client ./
|
||||
npx fileicon set bin/nim_status_client status-dev.icns
|
||||
echo -e "\e[92mRunning:\e[39m bin/StatusDev.app/Contents/MacOS/nim_status_client"
|
||||
./bin/StatusDev.app/Contents/MacOS/nim_status_client
|
||||
|
||||
run-windows: $(NIM_WINDOWS_PREBUILT_DLLS)
|
||||
echo -e "\e[92mRunning:\e[39m bin/nim_status_client.exe"
|
||||
|
|
Loading…
Reference in New Issue