Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用deb安装包后,如何设置桌面显示快捷方式? #138

Open
yzy945 opened this issue May 22, 2024 · 3 comments
Open

使用deb安装包后,如何设置桌面显示快捷方式? #138

yzy945 opened this issue May 22, 2024 · 3 comments

Comments

@yzy945
Copy link

yzy945 commented May 22, 2024

在菜单里面有快捷方式,但桌面上没有,在配置项里面好像没找到,不知道该如何设置

@lindexi
Copy link
Member

lindexi commented May 22, 2024

@yzy945 拷贝 desktop 文件到 /home/$USER/Desktop 文件夹下即可

@yzy945
Copy link
Author

yzy945 commented May 23, 2024

@yzy945 拷贝 desktop 文件到 /home/$USER/Desktop 文件夹下即可

嗯,我是想问在制作deb安装包时,如何配置参数,让安装完成后,桌面上就自动有快捷方式。

@lindexi
Copy link
Member

lindexi commented Aug 22, 2024

@yzy945 这个要写脚本的,不是靠配置完成的哦。 你写一个 InstallScript.sh 脚本,然后配置 csproj 记录此文件作为安装脚本,代码如下

    <!-- 安装脚本 -->
    <DebPostinstFile>InstallScript.sh</DebPostinstFile>

在安装脚本里面将 desktop 文件拷贝到桌面文件夹即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants