-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move from needing the GUI to be run as root, gparted style, to only needing to run the apart-core as root using pkexec removed apart-gtk-polkit, now done within app.py reworked polkit policy, and named it a bit more standardly fixed mockpcl flushing issues updated build-dist & start-test-app added apart-core integrity check
- Loading branch information
1 parent
b98ff03
commit 7af1562
Showing
9 changed files
with
27 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ ! -f apart-core/target/debug/apart-core ]; then | ||
(cd apart-core && cargo build) | ||
set -eu | ||
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
if [ ! -f $dir/apart-core/target/debug/apart-core ]; then | ||
(cd $dir/apart-core && cargo build) | ||
fi | ||
|
||
RUST_BACKTRACE=1 \ | ||
APART_GTK_NON_ROOT=Y \ | ||
APART_PARTCLONE_CMD=/home/alex/project/apart-gtk/test/mockpcl \ | ||
APART_GTK_CORE_CMD=apart-core/target/debug/apart-core \ | ||
APART_PARTCLONE_CMD=$dir/test/mockpcl \ | ||
APART_GTK_CORE_CMD=$dir/apart-core/target/debug/apart-core \ | ||
RUST_LOG=info \ | ||
APART_LSBLK_CMD=/home/alex/project/apart-gtk/test/mocklsblk \ | ||
./src/app.py | ||
APART_LSBLK_CMD=$dir/test/mocklsblk \ | ||
$dir/src/app.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.