-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 更新了Ubuntu、macOS和Windows平台的打包脚本,增强了可维护性和操作的灵活性。 - 引入了7z压缩格式支持,优化了软件分发过程。 - **Ubuntu**: - 新增DEBIAN控制文件,定义了包信息和管理脚本。 - 更新了`.desktop`和`.sh`脚本,适配新的包管理方式。 - 移除了旧的打包脚本部分,统一使用新的打包逻辑。 - **macOS**: - 改进了`package.sh`脚本,增加了7z压缩格式的软件包生成。 - 优化了应用打包流程,确保了框架的完整性。 - **Windows**: - 引入了Inno Setup编译脚本(`.iss`),标准化了安装程序的生成。 - 更新了PowerShell脚本(`package.ps1`),增加了7z压缩包的创建。 - 修正了Visual C++运行时的安装指令,确保了依赖的正确安装。 - **其他改进**: - 统一了`.gitignore`文件,排除了打包目录和生成的安装程序。 - 清理了工作流中不再需要的文件和脚本,精简了项目结构。
- Loading branch information
Showing
15 changed files
with
649 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,3 +92,5 @@ tags | |
.vscode | ||
bin-* | ||
build | ||
packet | ||
releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Package: qt-app | ||
Version: 0.1.1 | ||
Architecture: amd64 | ||
Description: qt-app | ||
Section: admin | ||
Priority: optional | ||
Maintainer: https://github.com/RealChuan | ||
Homepage: https://github.com/RealChuan/Qt-App | ||
Depends: libc6 (>= 2.35) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh -e | ||
|
||
chmod +x /opt/Qt-App/Qt-App | ||
chmod +x /opt/Qt-App/Qt-App.sh | ||
chmod 777 /opt/Qt-App/app.png | ||
chmod 744 /usr/share/applications/Qt-App.desktop | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/sh -e | ||
|
||
delete_file_or_dir() { | ||
local target=$1 | ||
|
||
if [ -e "$target" ]; then | ||
if [ -d "$target" ]; then | ||
rm -rf "$target" | ||
else | ||
rm "$target" | ||
fi | ||
fi | ||
} | ||
|
||
if [ "$1" = "remove" -o "$1" = "purge" ]; then | ||
delete_file_or_dir ~/.config/Youth/Qt-App | ||
delete_file_or_dir ~/.config/Youth/CrashReport | ||
fi | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh -e | ||
|
||
killall -q -9 Qt-App || true | ||
killall -q -9 CrashReport || true | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh -e | ||
|
||
killall -q -9 Qt-App || true | ||
killall -q -9 CrashReport || true | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
[Desktop Entry] | ||
Type=Application | ||
Name=Qt-App | ||
Comment=A qt Application template | ||
GenericName=Qt-App | ||
Exec=AppRun %F | ||
Icon=app | ||
Comment=Edit this default file | ||
Terminal=true | ||
Type=Application | ||
StartupNotify=false | ||
StartupWMClass=U-Backup | ||
Categories=Utility; | ||
X-AppImage-Version=9e82467 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /opt/Qt-App/Qt-App |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Desktop Entry] | ||
Name=Qt-App | ||
Comment=A qt Application template | ||
GenericName=Qt-App | ||
Exec=/opt/Qt-App/Qt-App | ||
Icon=/opt/Qt-App/app.png | ||
Type=Application | ||
StartupNotify=false | ||
StartupWMClass=U-Backup | ||
Categories=Utility; |
Oops, something went wrong.