Fix build.
This commit is contained in:
parent
6e2cb4444b
commit
18c041630e
@ -5,7 +5,7 @@ Now support Arch and Debian based Linux (OpenRC and SystemD).
|
|||||||
### Build and run
|
### Build and run
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://git.macaw.me:3000/plant_1312/Yggtk.git
|
git clone https://git.macaw.me/plant_1312/Yggtk.git
|
||||||
valac Yggtk/main.vala --pkg gtk+-3.0 --pkg json-glib-1.0
|
valac Yggtk/main.vala --pkg gtk+-3.0 --pkg json-glib-1.0
|
||||||
cp Yggtk/main.ui .
|
cp Yggtk/main.ui .
|
||||||
rm -R Yggtk
|
rm -R Yggtk
|
||||||
|
@ -88,9 +88,10 @@ int download () {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
string pm = Process.spawn_command_line_sync ("pkexec pacman -S yggdrasil --noconfirm");
|
string pm;
|
||||||
|
Process.spawn_command_line_sync ("pkexec pacman -S yggdrasil --noconfirm", out pm);
|
||||||
|
|
||||||
if (pm = "bash: pacman: command not found\n") {
|
if (pm == "bash: pacman: command not found\n") {
|
||||||
|
|
||||||
Process.spawn_command_line_sync ("wget https://2375-115685026-gh.circle-artifacts.com/0/yggdrasil-0.3.12-amd64.deb");
|
Process.spawn_command_line_sync ("wget https://2375-115685026-gh.circle-artifacts.com/0/yggdrasil-0.3.12-amd64.deb");
|
||||||
Process.spawn_command_line_sync ("dpkg -i yggdrasil-0.3.12-amd64.deb");
|
Process.spawn_command_line_sync ("dpkg -i yggdrasil-0.3.12-amd64.deb");
|
||||||
@ -113,7 +114,7 @@ int update () {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
Process.spawn_command_line_sync ("git clone https://git.macaw.me:3000/plant_1312/Yggtk.git");
|
Process.spawn_command_line_sync ("git clone https://git.macaw.me/plant_1312/Yggtk.git");
|
||||||
Process.spawn_command_line_sync ("valac Yggtk/main.vala --pkg gtk+-3.0 --pkg json-glib-1.0");
|
Process.spawn_command_line_sync ("valac Yggtk/main.vala --pkg gtk+-3.0 --pkg json-glib-1.0");
|
||||||
Process.spawn_command_line_sync ("cp Yggtk/main.ui .");
|
Process.spawn_command_line_sync ("cp Yggtk/main.ui .");
|
||||||
Process.spawn_command_line_sync ("rm -R Yggtk");
|
Process.spawn_command_line_sync ("rm -R Yggtk");
|
||||||
|
Loading…
Reference in New Issue
Block a user