Skip to content

Commit 8fe88e9

Browse files
CopilotLoveDoLove
andauthored
Release 1.0.0
feat: default to SYSTEM cmd.exe on no-args + auto-elevate via UAC (#4) * Initial plan * Add RemoteRun C# tool: run commands as NT AUTHORITY\\SYSTEM locally and remotely Co-authored-by: LoveDoLove <67772009+LoveDoLove@users.noreply.github.com> * Fix terminal stuck when running interactive programs (e.g. cmd.exe) Co-authored-by: LoveDoLove <67772009+LoveDoLove@users.noreply.github.com> * Rewrite setup.iss for RemoteRun-only installer with System CMD quick-launch shortcut Co-authored-by: LoveDoLove <67772009+LoveDoLove@users.noreply.github.com> * Fix: remove invalid runasadmin flag from [Icons] section in setup.iss Co-authored-by: LoveDoLove <67772009+LoveDoLove@users.noreply.github.com> * Remove Run flags and simplify setup.iss entry Remove the Flags line (nowait postinstall skipifsilent runasadmin) from the [Run] entry in setup.iss and inline the Description onto a single line. This simplifies the file formatting and removes the installer run flags that previously controlled post-install, silent-mode, and elevation behavior when launching RemoteRun.exe. * feat: default to cmd.exe as SYSTEM and auto-elevate via UAC Co-authored-by: LoveDoLove <67772009+LoveDoLove@users.noreply.github.com> * Remove flags from post-install Run entry Remove the Flags (nowait, postinstall, skipifsilent, runasadmin) and the trailing continuation from the [Run] entry in setup.iss, leaving only the Description for the RemoteRun post-install command. This change stops using the previously specified run flags (such as automatic post-install execution and run-as-admin behavior). * Create cross-platform-build.yml * Remove AdvancedRun, since we have own RemoteRun --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: LoveDoLove <67772009+LoveDoLove@users.noreply.github.com> Co-authored-by: LoveDoLove <v0130p5100cuboss@gmail.com>
1 parent 9d93a72 commit 8fe88e9

16 files changed

Lines changed: 1829 additions & 603 deletions
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: Cross-Platform Build
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_version:
7+
description: "Desired Release Version (e.g., v1.0.0)"
8+
required: true
9+
type: string
10+
release_type:
11+
description: "Release type (release or prerelease)"
12+
required: true
13+
default: "release"
14+
type: choice
15+
options:
16+
- release
17+
- prerelease
18+
jobs:
19+
build:
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
include:
25+
- os: windows-latest
26+
arch: x64
27+
runtime: win-x64
28+
- os: windows-latest
29+
arch: x86
30+
runtime: win-x86
31+
- os: windows-latest
32+
arch: arm
33+
runtime: win-arm
34+
- os: windows-latest
35+
arch: arm64
36+
runtime: win-arm64
37+
38+
steps:
39+
- name: Checkout repository
40+
uses: actions/checkout@v4
41+
42+
- name: Setup .NET
43+
uses: actions/setup-dotnet@v4
44+
with:
45+
dotnet-version: "8.0.x"
46+
47+
- name: Clean project
48+
run: dotnet clean RemoteRun/RemoteRun.csproj
49+
50+
- name: Publish library
51+
run: dotnet publish RemoteRun/RemoteRun.csproj --configuration Release --runtime ${{ matrix.runtime }} --self-contained false /p:UseAppHost=false -o ./publish/${{ matrix.os }}-${{ matrix.arch }}/RemoteRun
52+
53+
- name: Zip ${{ matrix.os }}-${{ matrix.arch }} output
54+
run: |
55+
Compress-Archive -Path ./publish/${{ matrix.os }}-${{ matrix.arch }}/RemoteRun/* -DestinationPath ./RemoteRun-${{ inputs.release_version }}-${{ matrix.os }}-${{ matrix.arch }}.zip
56+
shell: pwsh
57+
58+
- name: Upload ${{ matrix.os }}-${{ matrix.arch }} artifact
59+
uses: actions/upload-artifact@v4
60+
with:
61+
name: RemoteRun-${{ inputs.release_version }}-${{ matrix.os }}-${{ matrix.arch }}.zip
62+
path: ./RemoteRun-${{ inputs.release_version }}-${{ matrix.os }}-${{ matrix.arch }}.zip
63+
overwrite: true
64+
65+
release:
66+
runs-on: ubuntu-latest
67+
needs: build
68+
permissions:
69+
contents: write
70+
steps:
71+
- name: Download all platform artifacts
72+
uses: actions/download-artifact@v4
73+
with:
74+
path: ./release-assets
75+
- name: Create GitHub Release
76+
uses: softprops/action-gh-release@v1
77+
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
78+
with:
79+
tag_name: ${{ github.event.inputs.release_version }}
80+
name: ${{ github.event.inputs.release_version }}
81+
prerelease: ${{ github.event.inputs.release_type == 'prerelease' }}
82+
files: ./release-assets/**/*.zip
83+
env:
84+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

AdvancedRun.chm

-20.1 KB
Binary file not shown.

AdvancedRun.exe

-168 KB
Binary file not shown.

AdvancedRunSysCmd.cmd

Lines changed: 0 additions & 5 deletions
This file was deleted.

RemoteRun.slnx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<Solution>
2+
<Project Path="RemoteRun/RemoteRun.csproj" />
3+
</Solution>

0 commit comments

Comments
 (0)