-
Notifications
You must be signed in to change notification settings - Fork 298
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2372 +/- ##
=========================================
- Coverage 38.11% 38.1% -0.01%
=========================================
Files 300 300
Lines 12519 12522 +3
Branches 1645 1646 +1
=========================================
Hits 4771 4771
- Misses 7494 7497 +3
Partials 254 254
Continue to review full report at Codecov.
|
Need to test on Mac.
Think the basics are done for the 3 platforms (at least from the very quick testing I did). |
I've done a lot of testing with this on Windows, and bits on Mac/Linux, but I'd appreciate if anybody else could give it a test. I'm going to ignore the powershell issue for now...since I couldn't find any mention of it elsewhere online. @badosu probably worth you being aware of this since I know you maintain the AUR version of Oni, and this changes what is used to launch Oni to |
Change looks great, @CrossR ! Thank you for all your work on this! 💯 I'm stoked that our CLI will finally be usable 👍 Really appreciate all the thought you put into this across all the platforms. |
@bryphe, I've actually just realised that the I'm aiming to just check the symbolic link and make sure it points to |
Thanks for catching that! That plan sounds reasonable to me. I'll tag this so I know to call it out in the release notes, as well 👍 |
Had a stupid logic error, but fixed that now and it works to add to the path on mac. I'll leave potentially adding an on launch check to a later PR, I'd rather stick with the CLI stuff whilst I'm in the area. |
Ah I missed that too when I looked at the code! Glad you caught it.
Sure, sounds reasonable as a separate PR - this change looks great 👍 |
@CrossR I'll check for CLI for any problems with the AUR wrapper script. De we have a standard interface that I can check list? Nothing high level, just the most important bits, e.g. *What happen when oni Thanks! |
Not really right now, and to be honest it will hopefully be changing in the next few PRs to match what #1707 has outlined, so it probably makes more sense for the documentation to wait until I'm done. All this PR should change is that you can close the terminal without closing Oni now. Everything else should be the same as the previous versions of Oni from the CLI. Non-CLI launching shouldn't have been changed at all. |
* Gate tests to only run on Windows * Fix lint issues * Hook up setup tests to run as part of 'yarn run test' * Run setup tests on appveyor; don't run as part of 'yarn run test' * Uncomment out test that registry key is removed, since Ryan's changes now address that! * Fix lint issues * Increase timeout * Include arch for setup file path * Include arch for setup file * Fix up arch on appveyor * Fix lint issues
This PR aims to address some of the points outlined over in #1707.
The first thing I'm aiming to fix is the ability to launch in the background, by fixing/editing the existing launch script (well currently I've deleted the old one, but this is very WIP so I'm just seeing what works).
I've based it on the VSCode script that is outlined in the linked issue.
Todo:
Edit with Oni
(Windows only I think)I'm considering the following but will probably just leave them to a second PR:
There is a very basic implementation I've done already that works on Windows, so seems like a good start, so hopefully it works across the other platforms.