修改makefile

This commit is contained in:
gfdgd xi 2023-09-29 13:41:48 +08:00
parent ac12c24afd
commit 87a54b8d72
2 changed files with 131 additions and 143 deletions

269
Makefile
View File

@ -7,158 +7,145 @@ clean:
rm VM-source/VirtualMachine -rfv
rm -rfv VM-source/.qmake.stash
package:
install:
#cd VM-source && qmake
#cd VM-source && make
#cd wine && make
make clean -j$(nproc)
mkdir deb/opt/apps/deepin-wine-runner/LANG -pv
cp -rv helperset deb/opt/apps/deepin-wine-runner/
python3 RemovePycacheFile.py
mkdir $(DESTDIR)/opt/apps/deepin-wine-runner/LANG -pv
cp -rv helperset $(DESTDIR)/opt/apps/deepin-wine-runner/
#cp -rv VM-source/VirtualMachine VM
cp -rv VM-source/deepin-wine-runner.svg VM
cp -rv VM-source/Windows7X64Auto.iso VM
cp -rv VM-source/Windows7X86Auto.iso VM
cp -rv wine/ deb/opt/apps/deepin-wine-runner/
cp -rv Test/ deb/opt/apps/deepin-wine-runner/
cp -rv wine/ $(DESTDIR)/opt/apps/deepin-wine-runner/
cp -rv Test/ $(DESTDIR)/opt/apps/deepin-wine-runner/
cp -rv information.json package-script
zip -v -q -r package-script.zip package-script
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 AddWineDebMirrorForDeepin20.sh 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
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 ProgramFen.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
#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 clean-unuse-program.py 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/*
cp -rv InstallBox86-cn.sh $(DESTDIR)/opt/apps/deepin-wine-runner/
cp -rv VM $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv 2048 $(DESTDIR)/opt/apps/deepin-wine-runner/
cp -rv Download.py $(DESTDIR)/opt/apps/deepin-wine-runner/
cp -rv AllInstall.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv ShellList $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv QemuDownload.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv DefaultSetting.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv QemuRun.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv kill.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv updatekiller.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv AddWineDebMirrorForDeepin20.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallNewWineHQOrg.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallWineOnDeepin23Alpha.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv wrestool $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv Mount.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv UnMount.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv vkd3d-proton.7z $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv deepin-wine-easy-packager.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv IconList.json $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv GetEXEVersion.exe $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv MountWithoutHome.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv RunCommandWithTerminal.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv QemuSystemInstall.sh $(DESTDIR)/opt/apps/deepin-wine-runner
echo "[]" > $(DESTDIR)/opt/apps/deepin-wine-runner/wine/winelist.json
rm -rfv $(DESTDIR)/opt/apps/deepin-wine-runner/wine/winelist.json
cp -rv req $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv pardus-chroot $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv winetricks $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv WineLib $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallFoxpro.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv BuildDesktop.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv ChangePassword.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv trans $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv RegShot $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv BeCyIconGrabber.exe $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv AutoShell $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv deepin-wine-packager-with-script.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv deepin-wine-packager.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv deepin-wine-runner-update-bug $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv deepin-wine-runner.svg $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv deepin-wine-venturi-setter.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallVisualBasicRuntime.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv DisabledOpengl.reg $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv EnabledOpengl.reg $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv geek.exe $(DESTDIR)/opt/apps/deepin-wine-runner
#cp -rv uengineapi $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv getxmlimg.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv ProgramFen.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv information.json $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallMono.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallMsxml.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallNetFramework.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallOther.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallVisualCPlusPlus.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv launch.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv LICENSE $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv mainwindow.py $(DESTDIR)/opt/apps/deepin-wine-runner/deepin-wine-runner
cp -rv package-script.zip $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv Run.bat $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv RunVM.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv "wine install" $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv 窗体透明度设置工具.exe $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv UpdateGeek.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv AppStore.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallWineOnDeepin23.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv dxvk.7z $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallFont.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv CheckDLL $(DESTDIR)/opt/apps/deepin-wine-runner
#cp -rv exagear.7z $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv dlls-arm.7z $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv deepin.list $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv sparkstore.list $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv arm-package.7z $(DESTDIR)/opt/apps/deepin-wine-runner
#cp -rv exa.7z $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv clean-unuse-program.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallNewWineHQ.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv cleanbottle.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv StartVM.sh $(DESTDIR)/opt/apps/deepin-wine-runner
#cp -rv deepin-wine-runner-create-botton.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv Icon $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv ConfigLanguareRunner-help.json $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv gtkGetFileNameDlg $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv LANG/*.qm $(DESTDIR)/opt/apps/deepin-wine-runner/LANG
cp -rv InstallDll.py $(DESTDIR)/opt/apps/deepin-wine-runner/LANG
cp -rv ConfigLanguareRunner.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv AutoConfig.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv UI $(DESTDIR)/opt/apps/deepin-wine-runner/
cp -rv InstallDll.py $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv Model $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv API $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv key $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallQemuUser.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv RemoveQemuUser.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallBox86.sh $(DESTDIR)/opt/apps/deepin-wine-runner
cp -rv InstallRuntime $(DESTDIR)/opt/apps/deepin-wine-runner
mkdir -pv $(DESTDIR)/opt/apps/deepin-wine-runner/entries/
cp -rv $(DESTDIR)/usr/share/applications $(DESTDIR)/opt/apps/deepin-wine-runner/entries/applications
#cp -rv deb $(DESTDIR)
python3 UpdateTime.py $(DESTDIR)/opt/apps/deepin-wine-runner/information.json
#sudo rm -rfv $(DESTDIR)/
#cp -rv deb /tmp/spark-deepin-wine-runner-builder
rm -rfv package-script.zip
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
sudo chown -R root:root /tmp/spark-deepin-wine-runner-builder
dpkg-deb -Z xz -b /tmp/spark-deepin-wine-runner-builder spark-deepin-wine-runner.deb
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
mkdir -pv $(DESTDIR)/usr/bin
ln -fs /opt/apps/deepin-wine-runner/deepin-wine-packager.py $(DESTDIR)/usr/bin/deepin-wine-package-builder
ln -fs /opt/apps/deepin-wine-runner/deepin-wine-easy-packager.py $(DESTDIR)/usr/bin/deepin-wine-packager-easy-builder
ln -fs /opt/apps/deepin-wine-runner/deepin-wine-packager-with-script.py $(DESTDIR)/usr/bin/deepin-wine-packager-with-script
ln -fs /opt/apps/deepin-wine-runner/deepin-wine-runner $(DESTDIR)/usr/bin/deepin-wine-runner
ln -fs /opt/apps/deepin-wine-runner/AppStore.py $(DESTDIR)/usr/bin/deepin-wine-runner-appstore
ln -fs /opt/apps/deepin-wine-runner/AutoShell/main.py $(DESTDIR)/usr/bin/deepin-wine-runner-auto-install-bash
ln -fs /opt/apps/deepin-wine-runner/ConfigLanguareRunner.py $(DESTDIR)/usr/bin/deepin-wine-runner-auto-install-config-old
ln -fs /opt/apps/deepin-wine-runner/AutoConfig.py $(DESTDIR)/usr/bin/deepin-wine-runner-auto-install-gui
ln -fs /opt/apps/deepin-wine-runner/launch.sh $(DESTDIR)/usr/bin/deepin-wine-runner-dtk-launch
ln -fs /opt/apps/deepin-wine-runner/deepin-wine-runner-update-bug $(DESTDIR)/usr/bin/deepin-wine-runner-update-bug
ln -fs /opt/apps/deepin-wine-runner/InstallFont.py $(DESTDIR)/usr/bin/deepin-wine-runner-wine-font-installer
ln -fs /opt/apps/deepin-wine-runner/InstallNewWineHQ.sh $(DESTDIR)/usr/bin/deepin-wine-runner-winehq-install
ln -fs '/opt/apps/deepin-wine-runner/wine install' $(DESTDIR)/usr/bin/deepin-wine-runner-wine-install
ln -fs '/opt/apps/deepin-wine-runner/wine install' $(DESTDIR)/usr/bin/deepin-wine-runner-wine-installer
ln -fs /opt/apps/deepin-wine-runner/InstallWineOnDeepin23.py $(DESTDIR)/usr/bin/deepin-wine-runner-wine-install-deepin23
ln -fs /opt/apps/deepin-wine-runner/InstallMono.py $(DESTDIR)/usr/bin/deepin-wine-runner-wine-monogecko-installer
ln -fs /opt/apps/deepin-wine-runner/InstallNetFramework.py $(DESTDIR)/usr/bin/deepin-wine-runner-wine-netframework-installer
ln -fs /opt/apps/deepin-wine-runner/InstallVisualCPlusPlus.py $(DESTDIR)/usr/bin/deepin-wine-runner-wine-vscppruntime-installer
ln -fs /opt/apps/deepin-wine-runner/deepin-wine-venturi-setter.py $(DESTDIR)/usr/bin/deepin-wine-venturi-setter
remove:
sudo apt purge spark-deepin-wine-runner -y

View File

@ -1,12 +1,13 @@
#!/usr/bin/env python3
# 更新构建时间
import os
import sys
import json
import platform
import datetime
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
with open(f"{programPath}/deb/opt/apps/deepin-wine-runner/information.json", "r") as file:
with open(sys.argv[1], "r") as file:
info = json.loads(file.read())
info["Time"] = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " " + platform.platform()
with open(f"{programPath}/deb/opt/apps/deepin-wine-runner/information.json", "w") as file:
with open(sys.argv[1], "w") as file:
file.write(json.dumps(info, ensure_ascii=False, indent=4))