Fixing FAQ formatting

This commit is contained in:
Justin C. Miller
2017-04-18 13:36:11 -07:00
parent 8877944cf2
commit 127833b884

View File

@@ -14,11 +14,11 @@ Frequently Asked Questions for Squirrel.Windows, organized by area below.
1. **How can I determine if my app is a Squirrel app? I provide a squirrel and non-squirrel install version and want to know which is running.**
You can check for the `Update.exe` in the parent directory to determine if the app is using Squirrel ([see #574](https://github.com/Squirrel/Squirrel.Windows/issues/574#issuecomment-176043311)).
```
```
var assembly = Assembly.GetEntryAssembly();
var updateDotExe = Path.Combine(Path.GetDirectoryName(assembly.Location), '..', 'Update.exe');
var isInstalled = File.Exists(updateDotExe);
```
```
## Packaging