Skip to content

Conversation

@cesaryuan
Copy link

Description

Run JAR file directly instead of running it in app's directory.

Motivation and Context

Closes #6203

How Has This Been Tested?

scoop install main/bfg
# run bfg in some git repo, it works now

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.

@cesaryuan
Copy link
Author

Is there any work that needs to be done?

@HUMORCE
Copy link
Member

HUMORCE commented Aug 11, 2025

Please check #6030 and git blame

The related changes of JAVA App shim are always targeted at specific apps; perhaps we need another way to solve this issue, such as providing option to set working directory?

@Shivelight
Copy link

The related changes of JAVA App shim are always targeted at specific apps; perhaps we need another way to solve this issue, such as providing option to set working directory?

Could this be an option in the manifest? Some apps prefer running from their root directory while others, like apktool, prefer the current working directory #6026 (comment)

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

Successfully merging this pull request may close these issues.

3 participants