-
-
Notifications
You must be signed in to change notification settings - Fork 332
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
Fix Previewer GitHub Release download for macOS #67
Comments
The preview tool doesn't use win forms, it uses .Net Core you can download the framework for MacOS here: https://dotnet.microsoft.com/download |
@Auburn I have everything installed, I tried running it with That required library ( Maybe I did something wrong? The Previewer was tested to be working on OSX/*nix, right? |
Maybe the project publishing is mis configured then, I don't have a Mac to
test on. I will have a look into it
…On Sun, 21 Feb 2021 at 12:23, Tommaso Ricci ***@***.***> wrote:
@Auburn <https://github.com/Auburn> I have everything installed, I tried
running it with dotnet FastNoiseLite.exe and dotnet FastNoiseLite.dll and
both gave me that error.
That required library (Microsoft.WindowsDesktop.App) isn't available on
macOS and Linux.
Maybe I did something wrong? The Previewer was tested to be working on
OSX/*nix, right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKJPLEGFSQJBEQGZDX3F4DTAD3KZANCNFSM4X65QF5Q>
.
|
Could you check the latest release, https://github.com/Auburn/FastNoise/releases/tag/v1.0.3 I fixed up some missing framework dependencies. I've tested Windows and Linux |
I tried to download the Mac file and run it. It's just a binary file without a filetype ending- I tried renaming it to .app or .zip, but neither worked. The OS didn't even recognize that it was an app that I could open. Should I mark it as executable and run it from the command line? |
I don't know what the standard practice is on MacOS, on Linux I just mark the file as executable and run it That is the file that .net produces when publishing for MacOS |
@Auburn is the new binary without an extension? I tried this two ways and didn't work:
|
I'll just try to open the previewer solution on mac and build it myself and see if it works |
The application output type of the solution seems to be configured as "Windows application" |
According to https://github.com/picoe/Eto it will run on https://github.com/mono/monomac which uses MONO instead of .NET Core. (Also monomac is an archived repo, looks like it's deprecated isn't it?) |
Hm, so you can't build it even if you change the configuration type? monomac is depreciated but it also supports Xamarin.Mac It's hard for me to look into this without a Mac :/ |
Here's the tutorial I'll follow it. https://github.com/picoe/Eto/wiki/Running-your-application |
You can try running this command to publish, it should bundle it as a .app
|
I was able to build, but with a slightly different command from the one in publish.bat, which is:
Ignore the file ./.publish/FastNoiseLiteGUI-OSX64 (it's not an app bundle) Copy the |
I don't know if I can create .dmg images on Windows |
I zipped it, does this work? |
Hello, I would like to try the GUI app on a mac. As Zorgatone said, the release is just a binary file which doesn't open by itself. After installing .net core 3.1 lts and chmodding the file to 777, I get this error:
I tried the zipped version you posted (FastNoiseLiteGUI.app.zip). Judging by the content of the zipped folder, this appears to be a valid MacOS App bundle. But after renaming the file to remove the .zip extension and then double-clicking it, I get an error message stating something like "this program is not supported on this mac". |
Thanks for the command, the zipped file from releases didn't work for me neither. |
I'm guessing you are building on MacOS? |
yes. on 11.4 mac os (x64). build from sources works well, but not the package from the release page. |
The solution for this is probably to setup github actions to build the preview app binaries so they can be built on their respective native platforms. |
downloaded it and deleted the joex$ open -a ~/Downloads/FastNoiseLiteGUI.app
The application /Users/joex/Downloads/FastNoiseLiteGUI.app cannot be opened because it has an incorrect executable format. On a Macbook Pro mid-2012 with High Sierra |
I just bought a mac mini, so I can have a look a fixing this properly when I get it setup |
I can confirm this runs on my Mac, could some other people also test it please: |
Doesn't work for me, If I try to open unzipped package. I see this |
Works for me! But I had to disable Big Surs strict permission handling for unsigned (or whatever) apps.
Great, much easier now to try different settings, thank you @Auburn! Edit: Specs: Macbook Air M1, Big Sur 11.6 |
The app I've downloaded just now didn't have execute in its binary file permissions ( Also there's another FastNoiseLiteGUI.app inside your |
WinForms is only available on windows (note that .NET 6 will have a cross-platform GUI)
The text was updated successfully, but these errors were encountered: