2023-09-30 10:15:15 +08:00
|
|
|
build:
|
2024-01-31 21:06:14 +08:00
|
|
|
make package-deb -j$(nproc)
|
2023-09-30 10:15:15 +08:00
|
|
|
|
2023-12-29 19:48:31 +08:00
|
|
|
replace:
|
|
|
|
rm Icon/Program/*
|
|
|
|
rm Icon/*.svg
|
|
|
|
rm Icon/doge.png
|
|
|
|
echo "[[], []]" > IconList.json
|
|
|
|
|
2023-03-19 15:16:59 +08:00
|
|
|
clean:
|
|
|
|
python3 RemovePycacheFile.py
|
2023-12-24 09:52:01 +08:00
|
|
|
rm *.deb -fv
|
2024-01-31 21:22:44 +08:00
|
|
|
rm *.pkg.tar* -fv
|
2024-01-31 21:02:33 +08:00
|
|
|
cd VM-source ; qmake . ; make clean
|
2023-04-05 16:42:53 +08:00
|
|
|
rm VM-source/VirtualMachine -rfv
|
2023-04-09 19:02:45 +08:00
|
|
|
rm -rfv VM-source/.qmake.stash
|
2023-03-19 15:16:59 +08:00
|
|
|
|
2024-01-31 22:20:43 +08:00
|
|
|
#package-rpm:
|
|
|
|
|
2024-02-02 12:41:31 +08:00
|
|
|
package-rpm:
|
|
|
|
sudo rm -rf /root/rpmbuild/
|
2024-02-02 13:49:01 +08:00
|
|
|
sudo rm -rf /tmp/deep-wine-runner-builder-source
|
|
|
|
mkdir /tmp/deep-wine-runner-builder-source -pv
|
|
|
|
cp * /tmp/deep-wine-runner-builder-source -rv
|
|
|
|
cp rpm/spark-deepin-wine-runner.spec /tmp/spark-deepin-wine-runner.spec
|
|
|
|
bash builddeb/ChangeDebVersion.sh
|
|
|
|
sudo rpmbuild -bb /tmp/spark-deepin-wine-runner.spec --target noarch
|
|
|
|
sudo bash -c 'cp /root/rpmbuild/RPMS/noarch/spark-deepin-wine-runner-*.rpm .'
|
|
|
|
sudo rm -rf /root/rpmbuild/
|
|
|
|
sudo rm -rf /tmp/deep-wine-runner-builder-source
|
2024-01-31 22:20:43 +08:00
|
|
|
|
2024-01-31 20:54:58 +08:00
|
|
|
package-pkg:
|
2024-01-31 21:35:07 +08:00
|
|
|
#sudo debtap -u
|
2024-02-02 21:16:10 +08:00
|
|
|
sudo debtap -Q spark-deepin-wine-runner.deb
|
|
|
|
sudo debtap -Q spark-deepin-wine-runner-ace.deb
|
2024-01-31 20:54:58 +08:00
|
|
|
|
|
|
|
package-deb:
|
2022-08-24 16:13:47 +08:00
|
|
|
#cd VM-source && qmake
|
|
|
|
#cd VM-source && make
|
|
|
|
#cd wine && make
|
2023-03-19 15:25:22 +08:00
|
|
|
make clean -j$(nproc)
|
2023-09-30 10:15:15 +08:00
|
|
|
mkdir deb/opt/apps/deepin-wine-runner/LANG -pv
|
|
|
|
cp -rv helperset deb/opt/apps/deepin-wine-runner/
|
2023-04-09 19:25:55 +08:00
|
|
|
#cp -rv VM-source/VirtualMachine VM
|
2022-12-09 10:37:50 +08:00
|
|
|
cp -rv VM-source/deepin-wine-runner.svg VM
|
|
|
|
cp -rv VM-source/Windows7X64Auto.iso VM
|
|
|
|
cp -rv VM-source/Windows7X86Auto.iso VM
|
2023-11-07 21:00:32 +08:00
|
|
|
cp -rv VM-source/test.qcow2 VM
|
2023-11-11 21:24:13 +08:00
|
|
|
cp -rv VM-source/*.fd VM
|
2023-09-30 10:15:15 +08:00
|
|
|
cp -rv wine/ deb/opt/apps/deepin-wine-runner/
|
|
|
|
cp -rv Test/ deb/opt/apps/deepin-wine-runner/
|
2023-03-19 13:28:29 +08:00
|
|
|
cp -rv information.json package-script
|
2022-07-27 22:40:05 +08:00
|
|
|
zip -v -q -r package-script.zip package-script
|
2023-09-30 10:15:15 +08:00
|
|
|
cp -rv InstallBox86-cn.sh deb/opt/apps/deepin-wine-runner/
|
|
|
|
cp -rv VM deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv 2048 deb/opt/apps/deepin-wine-runner/
|
|
|
|
cp -rv Download.py deb/opt/apps/deepin-wine-runner/
|
|
|
|
cp -rv AllInstall.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv ShellList deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv QemuDownload.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv DefaultSetting.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv QemuRun.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv kill.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv updatekiller.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallNewWineHQOrg.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallWineOnDeepin23Alpha.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv wrestool deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv Mount.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv UnMount.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv vkd3d-proton.7z deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv deepin-wine-easy-packager.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv IconList.json deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv GetEXEVersion.exe deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv MountWithoutHome.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv RunCommandWithTerminal.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv QemuSystemInstall.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
echo "[]" > deb/opt/apps/deepin-wine-runner/wine/winelist.json
|
|
|
|
rm -rfv deb/opt/apps/deepin-wine-runner/wine/winelist.json
|
|
|
|
cp -rv req deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv pardus-chroot deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv winetricks deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv WineLib deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallFoxpro.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv BuildDesktop.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv ChangePassword.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv trans deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv RegShot deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv BeCyIconGrabber.exe deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv AutoShell deb/opt/apps/deepin-wine-runner
|
2023-12-23 12:24:20 +08:00
|
|
|
cp -rv Resources deb/opt/apps/deepin-wine-runner
|
2023-09-30 10:15:15 +08:00
|
|
|
cp -rv deepin-wine-packager-with-script.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv deepin-wine-packager.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv deepin-wine-runner-update-bug deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv deepin-wine-runner.svg deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv deepin-wine-venturi-setter.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallVisualBasicRuntime.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv DisabledOpengl.reg deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv EnabledOpengl.reg deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv geek.exe deb/opt/apps/deepin-wine-runner
|
|
|
|
#cp -rv uengineapi deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv getxmlimg.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv information.json deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallMono.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallMsxml.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallNetFramework.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallOther.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallVisualCPlusPlus.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv launch.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv LICENSE deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv mainwindow.py deb/opt/apps/deepin-wine-runner/deepin-wine-runner
|
|
|
|
cp -rv package-script.zip deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv Run.bat deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv RunVM.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv "wine install" deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv 窗体透明度设置工具.exe deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv UpdateGeek.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv AppStore.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallWineOnDeepin23.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv dxvk.7z deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallFont.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv CheckDLL deb/opt/apps/deepin-wine-runner
|
2024-04-27 21:56:21 +08:00
|
|
|
cp -rv InstallLat.sh deb/opt/apps/deepin-wine-runner
|
2023-09-30 10:15:15 +08:00
|
|
|
#cp -rv exagear.7z deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv dlls-arm.7z deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv deepin.list deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv sparkstore.list deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv arm-package.7z deb/opt/apps/deepin-wine-runner
|
|
|
|
#cp -rv exa.7z deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallNewWineHQ.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv cleanbottle.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv StartVM.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
#cp -rv deepin-wine-runner-create-botton.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv Icon deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv ConfigLanguareRunner-help.json deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv gtkGetFileNameDlg deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv LANG/*.qm deb/opt/apps/deepin-wine-runner/LANG
|
|
|
|
cp -rv InstallDll.py deb/opt/apps/deepin-wine-runner/LANG
|
|
|
|
cp -rv ConfigLanguareRunner.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv AutoConfig.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv UI deb/opt/apps/deepin-wine-runner/
|
|
|
|
cp -rv InstallDll.py deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv Model deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv API deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv key deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallQemuUser.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv RemoveQemuUser.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallBox86.sh deb/opt/apps/deepin-wine-runner
|
|
|
|
cp -rv InstallRuntime deb/opt/apps/deepin-wine-runner
|
|
|
|
mkdir -pv deb/opt/apps/deepin-wine-runner/entries/
|
|
|
|
cp -rv deb/usr/share/applications deb/opt/apps/deepin-wine-runner/entries/applications
|
|
|
|
python3 UpdateTime.py
|
|
|
|
python3 RemovePycacheFile.py
|
|
|
|
sudo rm -rfv /tmp/spark-deepin-wine-runner-builder/
|
|
|
|
cp -rv deb /tmp/spark-deepin-wine-runner-builder
|
|
|
|
rm -rfv deb/opt/apps/deepin-wine-runner/*
|
2023-05-12 21:47:14 +08:00
|
|
|
rm -rfv package-script.zip
|
2023-09-30 10:15:15 +08:00
|
|
|
mkdir -pv /tmp/spark-deepin-wine-runner-builder/usr/bin
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/deepin-wine-packager.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-package-builder
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/deepin-wine-easy-packager.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-packager-easy-builder
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/deepin-wine-packager-with-script.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-packager-with-script
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/deepin-wine-runner /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/AppStore.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-appstore
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/AutoShell/main.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-auto-install-bash
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/ConfigLanguareRunner.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-auto-install-config-old
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/AutoConfig.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-auto-install-gui
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/launch.sh /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-dtk-launch
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/deepin-wine-runner-update-bug /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-update-bug
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/InstallFont.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-wine-font-installer
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/InstallNewWineHQ.sh /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-winehq-install
|
|
|
|
ln -s '/opt/apps/deepin-wine-runner/wine install' /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-wine-install
|
|
|
|
ln -s '/opt/apps/deepin-wine-runner/wine install' /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-wine-installer
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/InstallWineOnDeepin23.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-wine-install-deepin23
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/InstallMono.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-wine-monogecko-installer
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/InstallNetFramework.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-wine-netframework-installer
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/InstallVisualCPlusPlus.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-runner-wine-vscppruntime-installer
|
|
|
|
ln -s /opt/apps/deepin-wine-runner/deepin-wine-venturi-setter.py /tmp/spark-deepin-wine-runner-builder/usr/bin/deepin-wine-venturi-setter
|
2023-11-12 10:20:11 +08:00
|
|
|
bash builddeb/ChangeDebVersion.sh
|
2024-02-02 08:31:06 +08:00
|
|
|
chmod -Rv 777 /tmp/spark-deepin-wine-runner-builder/opt
|
|
|
|
chmod -Rv 777 /tmp/spark-deepin-wine-runner-builder/usr
|
2023-09-30 10:15:15 +08:00
|
|
|
|
2023-11-11 23:12:30 +08:00
|
|
|
dpkg-deb -Z xz -z 9 -b /tmp/spark-deepin-wine-runner-builder spark-deepin-wine-runner.deb
|
|
|
|
sudo rm -rfv /tmp/spark-deepin-wine-runner-builder
|
|
|
|
# 构建 ace 包
|
|
|
|
cp -rv deb-ace /tmp/spark-deepin-wine-runner-builder
|
|
|
|
cp -rv spark-deepin-wine-runner.deb /tmp/spark-deepin-wine-runner-builder/opt/apps/spark-deepin-wine-runner-ace
|
2023-11-12 10:20:11 +08:00
|
|
|
bash builddeb/ChangeDebVersion.sh
|
2023-11-11 23:12:30 +08:00
|
|
|
sudo chown -R root:root /tmp/spark-deepin-wine-runner-builder
|
|
|
|
dpkg-deb -Z xz -z 9 -b /tmp/spark-deepin-wine-runner-builder spark-deepin-wine-runner-ace.deb
|
2023-09-30 10:15:15 +08:00
|
|
|
sudo rm -rfv /tmp/spark-deepin-wine-runner-builder
|
|
|
|
|
|
|
|
install:
|
|
|
|
make build -j$(nproc)
|
|
|
|
sudo apt update ; true
|
|
|
|
#sudo dpkg -i spark-deepin-wine-runner.deb
|
|
|
|
sudo apt reinstall ./spark-deepin-wine-runner.deb -y --allow-downgrades
|
|
|
|
rm spark-deepin-wine-runner.deb -vf
|
2022-07-27 22:40:05 +08:00
|
|
|
|
2023-09-30 10:15:15 +08:00
|
|
|
remove:
|
|
|
|
sudo apt purge spark-deepin-wine-runner -y
|
2022-07-27 22:40:05 +08:00
|
|
|
|
|
|
|
run:
|
2022-08-08 15:49:59 +08:00
|
|
|
python3 mainwindow.py
|