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

Make ie4uinit.exe execution optional #1240

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

kkriske
Copy link
Contributor

@kkriske kkriske commented Dec 20, 2023

  • Do not run ie4uinit if it is not on the PATH.
  • Uses 'where' to check if an executable is on the PATH

Issue

Build on WindowsServerCore containers fail because ie4uinit does not exist.

Fixes #1239

Progress

@@ -285,6 +285,7 @@ private void createIconResource() throws InterruptedException, IOException {
// During development if user changes the application icon, the same is not reflected immediately in Explorer.
// To fix this, a cache clearance of the Windows explorer is required.
private void clearExplorerCache() throws IOException, InterruptedException {
if (!executableOnPath("ie4uinit.exe")) return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a log if this happens, warning the user that the application icon might have been cached and not updated properly?

@jperedadnr jperedadnr merged commit 6a78701 into gluonhq:master Jul 10, 2024
3 checks passed
@kkriske kkriske deleted the make-ie4uinit-optional branch July 11, 2024 18:44
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.

Build on WindowsServerCore container fails
2 participants