-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/leoafarias/sidekick
# Conflicts: # lib/providers/fvm_cache.provider.dart
- Loading branch information
Showing
8 changed files
with
228 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Installing Sidekick is super simple and should only take a few minutes! To start of, [download the latest release](https://github.com/leoafarias/sidekick/releases/latest) or build from source (Like any other flutter application). | ||
|
||
# Windows | ||
There are two ways to install Sidekick on Windows. Firstly, with an MSIX, named `Sidekick-windows-x.x.x.msix`, you should run this if you wish to install Sidekick on you PC, please check Installing with MSIX for instructions. Alternatively, you can just run `Sidekick.exe` to use Sidekick without having to install anything. This is done by downloading `windows-x.x.x.zip` | ||
|
||
### Installing with MSIX (Recommended) | ||
Unfortunately, it isn't as easy as opening the file and installing it as we do not have a signed certificate (yet). | ||
|
||
To install Sidekick, first right-click and click on `Properties`. | ||
|
||
Then, navigate to `Digital Signatures`. You will see only one signature called `Msix Testing`, you will need to add this to the windows key-store. To do this, please double-click on the signature and click on `View Certificate`. Next, click on `Install Certificate` and then on `Local System`. Finally you'll need to select they key-store called `Trusted Root Certification Authorities` under `Browse`. | ||
|
||
After completing those steps you should now be able to install Sidekick using the MSIX package. | ||
|
||
### Using the portable version | ||
If you don't wish to install an untrusted certificate you can also simply save `Sidekick.exe` and all of the other files wherever you want and then create a desktop shortcut. Please note that the auto-update feature will not work! | ||
|
||
# MacOS | ||
In order to install Sidekick on MacOS we recommend downlading the file named `Sidekick-macos-x.x.x.dmg`, you should run this if you wish to install Sidekick on you Mac, please check Installing with DMG for instructions. Alternatively, you can just run `Sidekick` to use Sidekick without having to install anything by downloading `macos-x.x.x.zip`. | ||
|
||
### Installing with DMG (Recommended) | ||
To install Sidekick in your Mac simply open `Sidekick.dmg` and drag the Sidekick app to the `Applications` folder next to it. If you are updating the app you'll need to click `Replace`. | ||
|
||
After doing this you should be able to see `Sidekick` in your Laucnhapd. However, if you try to open it you might get a message saying that `"Sidekick" can't be opened because Apple cannot check it for malicious software.` In order to fix this open `System Preferences` and click on `Security and Privacy`, where you'll see a message saying `"Sidekick" was blocked from use because it is not from an identified developer`, in order to complete the installation you will need to click `Open Anyway` and then `Open` in the popup. | ||
|
||
Done! You should now be able to use Sidekick normally! | ||
|
||
### Using the portable version | ||
To use the portable version of Sidekick in your Mac simply locate `Sidekick` and drag the it wherever you want to store the app. | ||
|
||
After doing this you should be able to open `Sidekick`. However, if you try to open it you might get a message saying that `"Sidekick" can't be opened because Apple cannot check it for malicious software.` In order to fix this open `System Preferences` and click on `Security and Privacy`, where you'll see a message saying `"Sidekick" was blocked from use because it is not from an identified developer`, in order to complete the installation you will need to click `Open Anyway` and then `Open` in the popup. | ||
|
||
# Linux | ||
Coming soon! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import 'dart:io'; | ||
|
||
import 'package:flutter/material.dart'; | ||
|
||
class ErrorDBScreen extends StatelessWidget { | ||
const ErrorDBScreen({Key key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Container( | ||
child: MaterialApp( | ||
debugShowCheckedModeBanner: false, | ||
home: Scaffold( | ||
backgroundColor: Colors.grey, | ||
body: Center( | ||
child: Container( | ||
decoration: const BoxDecoration( | ||
color: Colors.white, | ||
borderRadius: BorderRadius.all(Radius.circular(10)), | ||
), | ||
constraints: const BoxConstraints(maxWidth: 700, maxHeight: 300), | ||
margin: const EdgeInsets.all(10), | ||
padding: const EdgeInsets.all(30), | ||
child: Column( | ||
crossAxisAlignment: CrossAxisAlignment.center, | ||
mainAxisAlignment: MainAxisAlignment.center, | ||
mainAxisSize: MainAxisSize.max, | ||
children: [ | ||
Text( | ||
"There was an isssue opening Sidekick", | ||
style: Theme.of(context).textTheme.headline4, | ||
textAlign: TextAlign.center, | ||
), | ||
const SizedBox( | ||
height: 20, | ||
), | ||
const Text( | ||
text, | ||
textAlign: TextAlign.center, | ||
), | ||
const SizedBox( | ||
height: 20, | ||
), | ||
ElevatedButton.icon( | ||
label: const Text("Close"), | ||
icon: const Icon(Icons.close), | ||
onPressed: () { | ||
exit(0); | ||
}, | ||
) | ||
], | ||
), | ||
), | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} | ||
|
||
const text = "Sidekick is having trouble reading its settings." | ||
" Please make sure that there are no other instances of Sidekick running" | ||
" and try again. If the problem persists, please open a Github Issue."; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.