update scripts

This commit is contained in:
VoidNV 2020-07-21 09:12:59 -05:00
parent 92cba974f2
commit 7dfc2dec47
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,6 @@
copy -r -Force E:/* ~/Desktop/zenithos/src/ $dir = "~\Projects\ZenithOS"
del ~/Desktop/zenithos/*.iso Remove-Item -Recurse -Force ${dir}\src\*
move ~/Desktop/zenithos/src/Tmp/MyDistro.ISO.C ~/Desktop/zenithos/Zenith-latest-$(get-date -Format "yyyy-MM-dd-HH_mm_ss").iso Copy-Item -Recurse -Force Z:/* ${dir}\src\
Remove-Item ${dir}\*.iso
Move-Item ${dir}\src\Tmp\MyDistro.ISO.C ${dir}\Zenith-latest-$(Get-Date -Format "yyyy-MM-dd-HH_mm_ss").iso

View file

@ -8,6 +8,6 @@ sudo cp -r /mnt/* src/
sudo umount /mnt sudo umount /mnt
sudo qemu-nbd -d /dev/nbd0 sudo qemu-nbd -d /dev/nbd0
sudo chown -R v:v src/* sudo chown -R $USER:$USER src/*
rm Zenith-latest* rm Zenith-latest*
mv src/Tmp/MyDistro.ISO.C ./Zenith-latest-$(date +%Y-%m-%d-%H_%M_%S).iso mv src/Tmp/MyDistro.ISO.C ./Zenith-latest-$(date +%Y-%m-%d-%H_%M_%S).iso