In the Installer.c file, I replaced the line:
snprintf(command, max_len, sizeof(char) * 100, "sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/%i/winehq.repo", *version);
to:
snprintf(command, max_len, "sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/%i/winehq.repo", *version);
After making those changes, I ran the tool with "valgrind ./Photoshop2020" I was able to enter "36" when it asks me for my Fedora version, and I was able to launch Photoshop2020 after it had finished installing.
Hopefully this helps!
Great work by the way, this tool is AWESOME!
Below is the Installer.c file (renamed to Installer.txt) that I have modified. Please review it if you would like to.
Installer.txt
In the Installer.c file, I replaced the line:
snprintf(command, max_len, sizeof(char) * 100, "sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/%i/winehq.repo", *version);to:
snprintf(command, max_len, "sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/%i/winehq.repo", *version);After making those changes, I ran the tool with "valgrind ./Photoshop2020" I was able to enter "36" when it asks me for my Fedora version, and I was able to launch Photoshop2020 after it had finished installing.
Hopefully this helps!
Great work by the way, this tool is AWESOME!
Below is the Installer.c file (renamed to Installer.txt) that I have modified. Please review it if you would like to.
Installer.txt