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

[Bug] Pr #5872 makes many java tools cannot run anymore #6203

Open
cesaryuan opened this issue Oct 23, 2024 · 0 comments
Open

[Bug] Pr #5872 makes many java tools cannot run anymore #6203

cesaryuan opened this issue Oct 23, 2024 · 0 comments
Labels

Comments

@cesaryuan
Copy link

cesaryuan commented Oct 23, 2024

Bug Report

Current Behavior

Running bfg always say Aborting : E:\scoop\apps\bfg\current is not a valid Git repository.

Because bfg detects whether the current working directory is a git repository, and the change in #5872 makes the working directory always the installation directory of bfg, which breaks its operating mechanism.

E:\desktop\f-droid-template [BARE:main]> bfg --delete-folders fdroid
bfg 1.14.0
Usage: bfg [options] [<repo>]
...
Aborting : E:\scoop\apps\bfg\current is not a valid Git repository.

Apktool also encounters the same problem.

Expected Behavior

bfg works.

Additional context/output

Possible Solution

@niheaven Revert the changes of #5872. I have tested it locally, which makes bfg work properly.

System details

Windows version: 11

OS architecture: 64bit

PowerShell version: 7.4.4

Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

{
  "last_update": "2024-10-23T21:07:54.9423740+08:00",
  "aria2-enabled": true,
  "scoop_branch": "master",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop",
  "aria2-warning-enabled": false,
  "aria2-max-connection-per-server": "8",
  "aria2-split": "8",
  "use_isolated_path": true,
  "use_sqlite_cache": true,
  "proxy": "127.0.0.1:7890"
}
@cesaryuan cesaryuan added the bug label Oct 23, 2024
@cesaryuan cesaryuan changed the title [Bug] Pr #5872 makes main/bfg cannot run anymore [Bug] Pr #5872 makes many java tools cannot run anymore Oct 26, 2024
cesaryuan added a commit to cesaryuan/Scoop that referenced this issue Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant