[wine zone] 星火wine助手2.4.0更新:支持应用自定义适配脚本
Tofloor
poster avatar
神末shenmo
deepin
Spark-App
2023-07-17 07:19
Author

spark-dwine-helper是从deepin-wine-helper fork出来的项目

deepin-wine-helper对于不同应用的适配脚本的调用方案是,在启动应用(CallApp)的时候,检查一个列表,查看应用的BOTTLENAME是否存在于run_v4.sh中,如果有,则执行;否则执行CallProcess通用启动

然而这样的方案有一种显而易见的缺点,就是当应用的适配脚本需要更改,或者某个新应用需要适配脚本的时候,需要更新整个deepin-wine-helper. 最开始spark-dwine-helper也是采用了这种方案,但是自从2.4.0版本开始,现在支持了应用在打包的时候在软件包内自带适配脚本,从而无需更新spark-dwine-helper

使用的方法为打包wine应用的时候把BOTTLENAME.sh放在 /opt/deepinwine/tools/spark_run_v4_app_configs中,在 spark_run_v4.sh启动时,会自动寻找这个目录下的$BOTTLENAME.sh的脚本,若有,则会启动;否则执行通用启动

效果如下

图片.png

Reply Favorite View the author
All Replies
璀璨星空
deepin
2023-07-17 07:28
#1

applaud

Reply View the author
阿尼樱奈奈
Moderator
2023-07-17 07:30
#2

like

Reply View the author
晚秋(lateautumn)
Moderator
2023-07-17 07:30
#3

抢个沙发,谢谢分享like

Reply View the author
青稚
Moderator
2023-07-17 15:10
#4

支持一下like

Reply View the author
青稚
Moderator
2023-07-17 15:10
#5
晚秋(lateautumn)

抢个沙发,谢谢分享like

沙发没有抢到joy

Reply View the author
晚秋(lateautumn)
Moderator
2023-07-17 16:10
#6
青稚

沙发没有抢到joy

打字没大家快,没抢到applaud

Reply View the author
阿尼樱奈奈
Moderator
2023-07-17 16:28
#7
晚秋(lateautumn)

打字没大家快,没抢到applaud

我也没有joy

Reply View the author
waittingsummer
deepin
2023-07-18 00:37
#8

我在许愿墙许的愿

V23支持最新版ediary可以了嘛

Reply View the author
神末shenmo
deepin
Spark-App
2023-07-18 00:43
#9
waittingsummer

我在许愿墙许的愿

V23支持最新版ediary可以了嘛

那个我在issue回复了,在应用启动的时候会尝试注入explorer.exe,这会导致wine崩溃,所以用wine的希望渺茫了

Reply View the author
waittingsummer
deepin
2023-07-18 00:53
#10
神末shenmo

那个我在issue回复了,在应用启动的时候会尝试注入explorer.exe,这会导致wine崩溃,所以用wine的希望渺茫了

sob

Reply View the author