JavaPackager icon indicating copy to clipboard operation
JavaPackager copied to clipboard

How to customize rules

Open fubb-github opened this issue 2 years ago • 12 comments

  • 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)

fubb-github avatar Feb 02 '24 09:02 fubb-github

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

lhDream avatar Feb 21 '24 10:02 lhDream

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

fvarrui avatar Feb 25 '24 17:02 fvarrui

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

fvarrui avatar Feb 27 '24 19:02 fvarrui

@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 avatar Mar 04 '24 02:03 fubb-github

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

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

fubb-github avatar Mar 04 '24 02:03 fubb-github

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

lhDream avatar Mar 04 '24 02:03 lhDream

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

安装后,启动无法应

fubb-github avatar Mar 04 '24 05:03 fubb-github

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

lhDream avatar Mar 04 '24 09:03 lhDream

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

安装后,启动无法应

Did you build your app from Linux? Have you tried to run your app from command line in order to see what's the output?

fvarrui avatar Jul 04 '24 20:07 fvarrui

Anyway, you can try with the latest version: 1.7.6. maybe your issue is already solved.

fvarrui avatar Jul 04 '24 20:07 fvarrui