初步添加统信的wine打包脚本

This commit is contained in:
2022-07-14 14:31:36 +08:00
parent 2eb05c9b7c
commit a01287dd6f
49 changed files with 2531 additions and 14 deletions

17
package-script/template/info Executable file
View File

@@ -0,0 +1,17 @@
{
"appid": "@deb_package_name@",
"name": "@app_name@",
"version": "@deb_version_string@",
"arch": ["i386"],
"permissions": {
"autostart": false,
"notification": false,
"trayicon": true,
"clipboard": true,
"account": false,
"bluetooth": false,
"camera": true,
"audio_record": true,
"installed_apps": false
}
}

21
package-script/template/run.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/sh
# Copyright (C) 2016 Deepin, Inc.
#
# Author: Li LongYu <lilongyu@linuxdeepin.com>
# Peng Hao <penghao@linuxdeepin.com>
BOTTLENAME="@public_bottle_name@"
APPVER="@deb_version_string@"
EXEC_PATH="@exec_path@"
START_SHELL_PATH="@start_shell_path@"
export MIME_TYPE="@mime_type@"
export DEB_PACKAGE_NAME="@deb_package_name@"
export APPRUN_CMD="@apprun_cmd@"
export PATCH_LOADER_ENV="@patch_loader@"
if [ -n "$EXEC_PATH" ];then
$START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
else
$START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@"
fi

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Type=Application
X-Created-By=@deb_packager@
Categories=@desktop_file_categories@
Icon=@desktop_file_icon@
Exec="@run_sh_dir@/run.sh" -u %u
Name=@app_name@
Name[zh_CN]=@app_name_zh_cn@
Comment=@app_description@
StartupWMClass=@desktop_file_main_exe@
MimeType=@mime_type@

View File

@@ -0,0 +1,11 @@
[version]
APP_VERSION="@app_version@"
WINE_VERSION="@wine_version@"
PATCH_VERSION="@patch_version@"
[version]
[update]
CHECK_UPDATE="@check_update@"
FORCE_FULL_UPGRADE="@force_full_upgrade@"
MIN_VER_SUPPORT="@min_version_support@"
[update]