-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
winget support? #574
Comments
Notepad2 still needs an installer to support winget though the winget support "zip install mode", which is just extract the installer from the zip file. This might be a possible version of the manifests (Treat Notepad2.exe as the installer): |
Then some one would need to make a PR to add manifests files into winget repo? |
well, I hope someone could integrate it with Github Actions to automatically send PR to winget repo, still don't know how to do it for now :( |
microsoft/winget-pkgs#118013 |
done. |
Thanks 👍, will add these instructions on release page. |
Getting a package not found error with both methods:
|
Microsoft should be blamed for this.
|
updated winget to latest version |
Still getting this same error. Is anyone else running into the same? @zufuliu, is it working for you? |
Sorry, but I don't know. |
Can you try two commands in
and confirm? Thanks. |
Is that Chinese? Sorry, I don't understand that language, but thanks for confirming
works |
我是多用户环境,目前Notepad4安装范围是user,但注册表替换是machine范围,因为路径不同,其他用户会打开失败。 I am in multi-user environment, currently Notepad4 installation scope is user, but registry replacement is machine scope, because the path is different, other users will fail to open. 名称 ID 版本 源
--------------------------------------------------------
Notepad4 (AVX2) zufuliu.notepad4.AVX2 24.11r5548 winget Can't uninstall/upgrade by IDI cannot uninstall this installation using the uninstall command. PS C:\Users\Mapaler> winget install --id zufuliu.notepad4.AVX2
已找到 Notepad4 (AVX2) [zufuliu.notepad4.AVX2] 版本 24.11r5548
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已成功验证安装程序哈希
正在提取存档...
已成功提取存档
正在启动程序包安装...
添加了命令行别名: "Notepad4"
添加了命令行别名: "matepath"
已成功安装
PS C:\Users\Mapaler> winget uninstall --id zufuliu.notepad4.AVX2
找不到与输入条件匹配的已安装程序包。
PS C:\Users\Mapaler> winget upgrade --id zufuliu.notepad4.AVX2
找不到与输入条件匹配的已安装程序包。 The path is not automatically changedAfter the installation location is specified, the address added to the path is still the default address, which makes it impossible to use the Notepad4 alias. PS C:\Users\Mapaler> winget install --id zufuliu.notepad4.AVX2 --location C:\ProgramFree\Notepad2
已找到 Notepad4 (AVX2) [zufuliu.notepad4.AVX2] 版本 24.11r5548
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已成功验证安装程序哈希
正在提取存档...
已成功提取存档
正在启动程序包安装...
添加了命令行别名: "Notepad4"
添加了命令行别名: "matepath"
已成功安装
PS C:\Users\Mapaler> Notepad4
Notepad4 : 无法将“Notepad4”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保
路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ Notepad4
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Notepad4:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException After upgrading, it will return to the default pathIf I modify the installation path with the PS C:\Users\Mapaler> winget install --id zufuliu.notepad4.AVX2 --location C:\ProgramFree\Notepad2 --scope machine --version "24.09r5472"
已找到 Notepad4 (AVX2) [zufuliu.notepad4.AVX2] 版本 24.09r5472
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已成功验证安装程序哈希
正在提取存档...
已成功提取存档
正在启动程序包安装...
添加了命令行别名: "Notepad4"
添加了命令行别名: "matepath"
已成功安装
PS C:\Users\Mapaler> winget upgrade --name "Notepad4 (AVX2)" --force
已找到 Notepad4 (AVX2) [zufuliu.notepad4.AVX2] 版本 24.11r5548
此应用程序由其所有者授权给你。
Microsoft 对第三方程序包概不负责,也不向第三方程序包授予任何许可证。
已成功验证安装程序哈希
正在提取存档...
已成功提取存档
正在启动程序包安装...
添加了命令行别名: "Notepad4"
添加了命令行别名: "matepath"
已成功安装 |
Warning to everyone:
resets all the configuration to default (by overwriting the .ini files)! Luckily, I had a backup of my settings. |
Yes, that's true. |
following is the order looking for INI files, put INI file in Lines 6441 to 6447 in 1c2360f
Lines 6469 to 6479 in 1c2360f
|
应该是 Winget 配置为 protable,只是把 zip 简单的解压。zip 里有 ini 就无法解决。 |
Agree. %APPDATA% is the best way to have this implemented. @zufuliu, at present, there's no directory created in %APPDATA% with Notepad4. Given that we don't have an installer (and have to instead rely on external programs like Notepad Replacer), do you want to have the directory created (if not already existing) in the program when it begins execution (initialization)? Hope to have this issue fixed, which otherwise makes it very convenient with winget. Cheers folks. |
Hi there,
just found this amazing notepad2-mod with EXTRA features
could you make it available in Winget?
Thanks.
Winget search notepad2 now have only one item which is notepad2-mod.
The text was updated successfully, but these errors were encountered: