appify icon indicating copy to clipboard operation
appify copied to clipboard

support windows

Open matryer opened this issue 7 years ago • 7 comments

appify should support Windows.

matryer avatar May 06 '18 20:05 matryer

Hehe. Me too.

I think windows is a tough one. There are a few tools out there but they need to be wrapped a bit in golang to make it less confusing.

Anyway will see what I can find.

ghost avatar May 09 '18 17:05 ghost

Btw I am using mage instead of makefiles so that the same make works on all desktops. Using ming64 and other bits can make things fragile I have found.

Mage has saved me heaps of time and it makes it very easy to tap into various things you need to package on windows

ghost avatar May 09 '18 17:05 ghost

https://github.com/mh-cbon/go-msi

Makes an msi. But for windows 10 you want an appx. the new windows 10 way....

ghost avatar May 09 '18 17:05 ghost

@gedw99 great job - do you want to join the project?

matryer avatar May 09 '18 18:05 matryer

Sure. I am totally hitting road blocks to support appx on Windows 10. Microsoft store does not accept standard golang binary when packaged as a uwp. See issue:

https://github.com/golang/go/issues/21805

According to the issue it's a new GOOS required. RSC put it on the back burner to milestone 1.1. up creek with no paddle.

Mhhh. Options for pragmatic desperatado developers ?.1. just keep making MSI and loose out on the windows store free ride. And pray microsoft don't bring down the draw bridge and stop side loading on Windows 10. They are flip flopping dependending on market conditions. This is the wimp out option I know.

Use the rust winapi crate that fully supports the new ( last week officially) winrt c/c++ API that does pass the windows store certification checker and sneak a golang compile time linked golang lib inside using The rust / golang FFI interop. But never used it and me suspects the Great Firewall of Windows Store will reject it

Oh sit it out and pray RSC changes his tune ?

More research required I suspect. Any clues on this ?

ghost avatar May 09 '18 22:05 ghost

You can use appx and distribute it without the store

VladimirAkopyan avatar Jul 03 '18 00:07 VladimirAkopyan

最好能交叉编译,使mac也能编译windows exe,反之亦然。 这个项目真的很牛逼~ 赞👍

xijaja avatar Mar 17 '22 11:03 xijaja