appimage格式的安装包的bug
Tofloor
poster avatar
187******09
deepin
2018-03-17 11:18
Author
一个appimage包,给了权限,安装成功了,启动器里有图标(例子:freeman)重启电脑后,图标消失,再次运行appimage文件,终端输出installed.....,还是没图标,但freeman成功运行,在监视器里查他的位置在/tmp下的一个隐藏文件夹里,关掉当前通过appimage打开的freeman,那个隐藏文件夹就会消失
https://bbs.deepin.org/user/48640
https://bbs.deepin.org/user/101846
Reply Favorite View the author
All Replies
avatar
jingle
deepin
2018-03-17 16:02
#1
给个地址看看 我下个
Reply View the author
avatar
187******09
deepin
2018-03-17 20:12
#2
本帖最后由 i1516 于 2018-3-17 12:13 编辑
https://bbs.deepin.org/post/154327
给个地址看看 我下个
其实对我来说好像所有appimage格式的安装包都有这个问题freeman下载
Reply View the author
avatar
sinx
deepin
2018-03-17 21:13
#3
这应该不算bug吧,appimage就是先把真正的可执行文件释放到/tmp,然后再执行,执行完删掉
Reply View the author
avatar
187******09
deepin
2018-03-17 21:30
#4
https://bbs.deepin.org/post/154327
这应该不算bug吧,appimage就是先把真正的可执行文件释放到/tmp,然后再执行,执行完删掉 ...

??那怎么安装呢?明明第一次生成了启动器图标!每次都要执行appimage文件么?没有启动器图标太麻烦了
Reply View the author
avatar
sinx
deepin
2018-03-17 23:16
#5
根据官方文档,大概有两种方法吧
一种提取出真正的可执行文件,然后运行AppRun脚本
./WhatEver-x86_64.AppImage --appimage-extract

https://github.com/AppImage/AppImageKit/wiki/Extracting-AppImages

第二种,利用appimaged进程集成appimage到系统
wget -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimaged_1.0_amd64.deb"
sudo dpkg -i appimaged_*.deb
systemctl --user add-wants default.target appimaged
systemctl --user start appimaged
它会监视和注册以下目录中的appimage文件
$HOME/Downloads (or its localized equivalent, as determined by G_USER_DIRECTORY_DOWNLOAD in glib)
$HOME/.local/bin
$HOME/bin
$HOME/Applications
/Applications
/isodevice/Applications
/isofrom/Applications
/run/archiso/img_dev/Applications
/lib/live/mount/findiso/Applications
/opt
/usr/local/bin

https://github.com/AppImage/AppImageKit/wiki
https://github.com/AppImage/AppImageKit#appimaged-usage
Reply View the author
avatar
187******09
deepin
2018-03-17 23:42
#6
https://bbs.deepin.org/post/154327
根据官方文档,大概有两种方法吧
一种提取出真正的可执行文件,然后运行AppRun脚本
./WhatEver-x86_64.AppI ...

这么麻烦的么,还是不装了
Reply View the author
avatar
sinx
deepin
2018-03-17 23:46
#7
i1516 发表于 2018-3-17 15:42
这么麻烦的么,还是不装了

目前我是没发现更好的方法,appimage格式也是有局限的
Reply View the author
avatar
billy123456
deepin
2018-03-18 21:15
#8
https://bbs.deepin.org/post/154327
这应该不算bug吧,appimage就是先把真正的可执行文件释放到/tmp,然后再执行,执行完删掉 ...

不是释放,是fuse挂载
Reply View the author