mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-06-06 06:59:49 +08:00
* 添加 Application 类,继承 DApplication,将 main 函数中设置属性、关于信息等操作移至 Application 构造函数中进行 * 1.1. 添加 setOrganizationName 操作,设置组织名称为 spark-union,与 SWRT 保持一致 * 1.2. 设置组织名称后,QStandardPaths::AppConfigLocation 等路径相应改变,修改所有配置文件和缓存文件路径(server.list/config.ini 等) * 1.3. 关于对话框设置父对象后,对话框背景色受主窗口样式表影响,移动部分控件样式表设置方式与位置 * 修复关于窗口不显示组织 Logo 的问题,补充丢失的资源文件,整理资源文件 * 去除 .pro 文件中无效的更新翻译文件脚本调用,整理 .pro 文件,添加编译时更新 ts 文件脚本调用 * 继续修复偶现关闭客户端时崩溃问题(疑似 aria2c 进程未启动,pid 未初始化为随机值,执行 kill 操作时未判断导致) * 修复进入详情页时焦点默认在分享链接按钮上的问题 * 暂时去除没有意义的 DBus 接口,使用 DGuiApplicationHelper::newProcessInstance 获取新进程的启动参数 * 更新翻译文件,去除已经不存在的翻译
66 lines
1.7 KiB
INI
66 lines
1.7 KiB
INI
#-------------------------------------------------
|
|
#
|
|
# Project created by QtCreator 2022-01-12T04:00:00
|
|
#
|
|
#-------------------------------------------------
|
|
|
|
TARGET = spark-store
|
|
TEMPLATE = subdirs
|
|
|
|
CONFIG += ordered
|
|
CONFIG += wayland-compositor
|
|
|
|
SUBDIRS += \
|
|
src/spark-dstore-patch \
|
|
src/spark-store.pro
|
|
|
|
# Update translation files
|
|
CONFIG(release, debug|release) {
|
|
system(bash $${PWD}/translate_update.sh)
|
|
system(bash $${PWD}/translate_generation.sh)
|
|
}
|
|
|
|
# Rules for deployment
|
|
tool.files += tool/*
|
|
tool.path = /opt/durapps/$${TARGET}/bin
|
|
|
|
qm.files += translations/*.qm
|
|
qm.path = /usr/share/spark-store/translations
|
|
|
|
#preferences.files += pkg/etc/apt/preferences.d/sparkstore
|
|
#preferences.path = /etc/apt/preferences.d
|
|
|
|
#sourceslist.files += pkg/etc/apt/sources.list.d/sparkstore.list
|
|
#sourceslist.path = /etc/apt/sources.list.d
|
|
|
|
bash_completion.files += pkg/usr/share/bash-completion/completions/aptss
|
|
bash_completion.path = /usr/share/bash-completion/completions
|
|
|
|
desktop.files += pkg/usr/share/applications/spark-store.desktop
|
|
desktop.path = /usr/share/applications
|
|
|
|
service.files += pkg/usr/lib/systemd/system/spark-update-notifier.service
|
|
service.path = /usr/lib/systemd/system/
|
|
|
|
polkit-1.files +=pkg/usr/share/polkit-1/actions/store.spark-app.ss-do-upgrade-worker.policy
|
|
polkit-1.path = /usr/share/polkit-1/actions/
|
|
|
|
icon.files += pkg/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
|
icon.path = /usr/share/icons/hicolor/scalable/apps
|
|
|
|
tmp.files += pkg/tmp/spark-store-install/feedback.sh
|
|
tmp.path = /tmp/spark-store-install
|
|
|
|
INSTALLS += \
|
|
tool \
|
|
qm \
|
|
desktop \
|
|
icon \
|
|
# preferences \
|
|
# sourceslist \
|
|
tmp \
|
|
service \
|
|
bash_completion \
|
|
polkit-1
|
|
# 暂时不添加
|