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

[Feature] Trigger Refresh from Command Line #1898

Open
3 tasks done
GenericMale opened this issue Oct 9, 2024 · 0 comments
Open
3 tasks done

[Feature] Trigger Refresh from Command Line #1898

GenericMale opened this issue Oct 9, 2024 · 0 comments
Labels

Comments

@GenericMale
Copy link

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem with as much detail as possible.
  • This issue only contains a request for one single feature, not multiple (related) features.

App version

3.8.4

Problem you are trying to solve

I'm using scoop to install packages, which creates a new folder for every new version of an application and additionally a symlink called current is created which always points to the latest installed version.
When an App is configured in Simplewall by using this current directory, the resolved path (i.e. the directory with the version) is configured in WFP. So after updating applications, the associated rules do not take effect immediately.
However, when clicking the refresh button within simplewall, the rules are automatically updated in WFP and will point to the latest version and everything works flawlessly again!

So my rather simple request is to add a flag to the simplewall.exe which will trigger a rule refresh in the exact same way as when the refresh button is clicked in the UI. This way it can be easily automated everytime a scoop update is performed or something else requires a rule refresh.

Suggested solution

Add CLI Argument to simplewall.exe to trigger a rule refresh (same as the Refresh Button in the GUI).

e.g.: simplewall.exe -refresh

When this flag is provided, the UI should not launch and just a rule refresh should be triggered. It should also work when another instance of simplewall is already running.

Screenshots / Drawings / Technical details

No response

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

No branches or pull requests

1 participant