mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
初步添加统信的wine打包脚本
This commit is contained in:
17
package-script/template/info
Executable file
17
package-script/template/info
Executable 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
21
package-script/template/run.sh
Executable 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
|
||||
14
package-script/template/target.desktop
Executable file
14
package-script/template/target.desktop
Executable 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@
|
||||
11
package-script/template/version_info
Executable file
11
package-script/template/version_info
Executable 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]
|
||||
Reference in New Issue
Block a user