mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-28 21:09:52 +00:00
14 lines
330 B
Bash
14 lines
330 B
Bash
|
#!/usr/bin/env bash
|
||
|
###
|
||
|
# If the app is built in CLion it needs to be wrapped to not get the error:
|
||
|
# > Warning: Could not find the Qt platform plugin "xcb"
|
||
|
###
|
||
|
|
||
|
rm .QOwnNotes-wrapped* || true
|
||
|
nix-shell -p libsForQt5.qt5.wrapQtAppsHook --run "wrapQtApp QOwnNotes"
|
||
|
./QOwnNotes "$@"
|
||
|
exit_status=$?
|
||
|
rm ./QOwnNotes
|
||
|
|
||
|
exit $exit_status
|