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

How to customize rules #393

Open
1 task
fubb-github opened this issue Feb 2, 2024 · 8 comments
Open
1 task

How to customize rules #393

fubb-github opened this issue Feb 2, 2024 · 8 comments
Labels
question Further information is requested

Comments

@fubb-github
Copy link

fubb-github commented Feb 2, 2024

  • JavaPackager version: 1.7.2
  • OS version: ubuntu
  • JDK version: 17
  • Build tool:
    • Maven

Other information (e.g. related issues, suggestions how to fix, links for us to have context)

@lhDream
Copy link
Contributor

lhDream commented Feb 21, 2024

你想怎样自定义?
可以修改模板文件来实现自定义,对应的 模板文件,放到自己项目的 ${assetsDir} 目录下

@fvarrui
Copy link
Owner

fvarrui commented Feb 25, 2024

Hi @fubb-github!
Does @lhDream advice help you?

@fvarrui
Copy link
Owner

fvarrui commented Feb 27, 2024

@fubb-github ... could you define rules?

@fvarrui fvarrui added the question Further information is requested label Feb 27, 2024
@fubb-github
Copy link
Author

@fubb-github ... could you define rules?

After I packaged the project into a deb package, the installation was unable to execute the program. It seems to be due to permission issues. I think the program can ignore permissions and run. What should I do? I currently want to try to solve this problem by customizing the rules file. What should I do?

@fubb-github
Copy link
Author

你想怎样自定义? 可以修改模板文件来实现自定义,对应的 模板文件,放到自己项目的 ${assetsDir} 目录下

我将项目打包成deb包后,安装无法执行程序,似乎是因为权限问题,我想该程序可以无视权限,运行起来,该怎么做?我目前想通过自定义rules文件来尝试解决,该如何做呢?

@lhDream
Copy link
Contributor

lhDream commented Mar 4, 2024

@fubb-github 是安装程序无法执行,还是安装后程序无法执行

@fubb-github
Copy link
Author

@fubb-github 是安装程序无法执行,还是安装后程序无法执行

安装后,启动无法应

@lhDream
Copy link
Contributor

lhDream commented Mar 4, 2024

@fubb-github 尝试使用root用户进行打包操作

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

No branches or pull requests

3 participants