-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed on/off and minor fixes in code style
- Loading branch information
1 parent
7f484b5
commit f0ea221
Showing
5 changed files
with
166 additions
and
113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
/target | ||
/screenpad_rs_binaries | ||
/screenpad_rs_binaries | ||
dev-build.sh | ||
build |
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,7 +1,17 @@ | ||
cargo build --release | ||
sudo cp target/release/screenpad_rs /usr/bin | ||
sudo cp ./src/brightness.sh /usr/bin/brightness.sh | ||
sudo cp ./src/current.sh /usr/bin/current.sh | ||
sudo cp ./screenpad_rs.service /etc/systemd/system/ | ||
sudo mkdir /var/screenpad_rs/ | ||
sudo echo 100 > /var/screenpad_rs/brightness | ||
#cargo build --release | ||
#sudo cp target/release/screenpad_rs /usr/bin | ||
#sudo cp ./src/brightness.sh /usr/bin/brightness.sh | ||
#sudo cp ./src/current.sh /usr/bin/current.sh | ||
#sudo cp ./screenpad_rs.service /etc/systemd/system/ | ||
#sudo mkdir /var/screenpad_rs/ | ||
#sudo echo 100 > /var/screenpad_rs/brightness | ||
|
||
mkdir build | ||
cd build | ||
tar -xvf ../screenpad_rs_binaries.tar.gz | ||
cp screenpad_rs_binaries/* . | ||
|
||
sudo cp screenpad_rs /usr/bin | ||
sudo cp brightness.sh /usr/bin/brightness.sh | ||
sudo cp current.sh /usr/bin/current.sh | ||
sudo cp screenpad_rs.service /etc/systemd/system/ |
Binary file not shown.
Binary file not shown.
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