Skip to content

Commit

Permalink
Require admin privileges for auto update
Browse files Browse the repository at this point in the history
  • Loading branch information
arkypita committed Apr 8, 2017
1 parent 2dc21cd commit af43e6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 48 deletions.
4 changes: 3 additions & 1 deletion LaserGRBL/LaserGRBL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
<StartAction>Project</StartAction>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
<NoWin32Manifest>true</NoWin32Manifest>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down Expand Up @@ -344,6 +345,7 @@
<EmbeddedResource Include="UserControls\LabelTB.resx">
<DependentUpon>LabelTB.cs</DependentUpon>
</EmbeddedResource>
<None Include="app.manifest" />
<None Include="Grafica\Actions-transform-crop-and-resize-icon.png" />
<None Include="Grafica\Crop-tool-icon.png" />
<None Include="Grafica\document-revert.png" />
Expand Down
47 changes: 0 additions & 47 deletions LaserGRBL/app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,55 +4,8 @@
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />

<!-- Opzioni manifesto Controllo account utente
Se si desidera modificare il livello di Controllo account utente di Windows, sostituire il
nodo requestedExecutionLevel con uno dei seguenti.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
Specificando il nodo requestedExecutionLevel verrà disabilitata la virtualizzazione dei file e del registro di sistema.
Se si desidera utilizzare la virtualizzazione dei file e del registro di sistema per la compatibilità con le versioni precedenti,
eliminare il nodo requestedExecutionLevel.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Elenco di tutte le versioni di Windows con cui è possibile utilizzare l'applicazione.
L'ambiente maggiormente compatibile verrà scelto automaticamente.-->

<!-- Se l'applicazione è progettata per l'uso con Windows Vista, rimuovere il commento dal seguente nodo supportedOS-->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>-->

<!-- Se l'applicazione è progettata per funzionare con Windows 7, rimuovere il seguente nodo supportedOS-->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->

<!-- Se l'applicazione è progettata per l'uso con Windows 8, rimuovere il commento dal seguente nodo supportedOS-->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>-->

</application>
</compatibility>

<!-- Abilita i temi per finestre di dialogo e controlli comuni di Windows (Windows XP e versioni successive) -->
<!-- <dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>-->

</asmv1:assembly>

0 comments on commit af43e6a

Please sign in to comment.