mirror of
https://github.com/XunilGroup/XunilOS.git
synced 2026-06-02 13:44:25 +02:00
5f4154bd24
events and move parsing code to libxunil, and add mouse support again by using them, remove unneeded graphics and console output code, merge build files to a rust app builder, make framebuffer a driver and remove the graphics folder, add shell as an app in VFS
14 lines
394 B
Bash
14 lines
394 B
Bash
#!/bin/bash
|
|
if [[ "$1" = "init" || "$1" = "libxunil" ]]; then
|
|
cd user/$1
|
|
else
|
|
cd user/apps/$1
|
|
fi
|
|
|
|
cargo build --target $KARCH-unknown-none --release --config profile.release.debug=true
|
|
if [[ "$1" = "init" || "$1" = "libxunil" ]]; then
|
|
cp ./target/$KARCH-unknown-none/release/$1 ../../assets/$KARCH/$1
|
|
else
|
|
cp ./target/$KARCH-unknown-none/release/$1 ../../../assets/$KARCH/$1
|
|
fi
|