Comments (4)
Thanks a lot
from komac.
Komac does detect architectures automatically but sometimes installers incorrectly record what architecture they are so Komac has fallback mechanisms.
Could you possibly provide what URLs you used so I can take a look at the installers?
from komac.
https://epa.gov/system/files/other-files/2023-08/swmm524(x86)_setup.exe
https://epa.gov/system/files/other-files/2023-08/swmm524(x64)_setup.exe
As you can see here with the first commit they were the same architecture: microsoft/winget-pkgs@becb8e6
After I had to do another commit to fix that: microsoft/winget-pkgs@1eb5c0d
from komac.
Thanks for providing the URLs. Komac finds architectures in URLs by first looking for a known architecture (E.g. x64) surrounded by delimiters. It does this because otherwise it would identify apps like ArmCord as always being the arm
architecture.
In this case, brackets weren't in the delimiters it looks for so it checks what architecture the exe says it is, which is x86 (All Inno installers do). I've fixed this by adding brackets as delimiters to look for in a URL.
from komac.
Related Issues (20)
- [Feature/Idea]: Edit manifest before creating pull request HOT 2
- [Bug]: Installer Switch missing from previous manifest HOT 1
- [Bug]: Nested nullsoft installer detected as exe HOT 9
- [Feature/Idea]: Interactive menus for updating HOT 1
- [Bug]: More than 1 quoted URL crashes komac HOT 1
- [Bug]: OpenSSL v1 is a undocumented requirement - Makes Komac unusable on modern systems HOT 4
- [Bug]: The value of "NestedInstallerFiles" went missing
- [Bug]: komac omits `MinimumOSVersion` from previous manifest HOT 1
- [Bug]: Error when trying to update an existing package to a new version HOT 4
- [Bug]: Unexpected str: "\n" and Checksums in ReleaseNotes
- [Feature/Idea]: Add rpm to ci/cd
- [Bug]: `komac update` removes `AppsAndFeaturesEntries` in `Installers` HOT 2
- [Bug]: Crashes when these specific URLs are used HOT 1
- [Bug]: Issue with UniExtract2
- [Bug]: RelativeFilePath not updated in current nightly build HOT 1
- [Feature/Idea]: generate .spec and .srpm files in relese ci/cd
- [Bug]: The installer type is unexpectedly changed to portable HOT 1
- [Feature/Idea]: support using a package as a template for new a new package
- [Bug]: `PortableCommandAlias` should be omitted if left empty HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from komac.