Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

Merge feat/win11-context-menu

KnifeLemon15d74acb2ac3
diff --cc .github/workflows/ci.yml
index 710f9a1a,b28bb9d9..455b8fc8
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@@ -28,11 -28,24 +28,25 @@@ jobs
- name: Build
run: dotnet build Filee.slnx --no-restore -c Release
+ # Windows 11 Explorer menu (native DLL + unsigned sparse package); its tests load the DLL in-process.
+ - name: Cache Zig toolchain
+ uses: actions/cache@v4
+ with:
+ path: |
+ build/.cache/zig-x86_64-windows-0.16.0
+ build/.cache/zig-cache
+ key: zig-0.16.0-${{ hashFiles('src/Filee.ExplorerMenu/**') }}
+ restore-keys: zig-0.16.0-
+
+ - name: Build Explorer menu extension
+ shell: pwsh
+ run: ./build/build-explorer-menu.ps1
+
- # rhwp + Pandoc are small; with them the HWP/HWPX engine tests run too (LibreOffice is skipped to save time).
- - name: Fetch rhwp and Pandoc for engine tests
+ # rhwp, Pandoc and 7-Zip are small; with them the HWP/HWPX and archive engine tests run too (LibreOffice is
+ # skipped to save time).
+ - name: Fetch rhwp, Pandoc and 7-Zip for engine tests
shell: pwsh
- run: ./build/fetch-engines.ps1 -Only rhwp,pandoc
+ run: ./build/fetch-engines.ps1 -Only rhwp,pandoc,7zip
- name: Test
run: dotnet test Filee.slnx --no-build -c Release --logger "trx" --results-directory TestResults
diff --cc .github/workflows/release.yml
index 4523acd2,f848fa65..a248a89f
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@@ -48,11 -51,16 +54,16 @@@ jobs
-p:PublishReadyToRun=true
-o ${{ env.PUBLISH_DIR }}
+ # Must sit next to Filee.exe: the package's external location is the install folder.
+ - name: Add Explorer menu extension
+ shell: pwsh
+ run: Copy-Item build/.cache/explorer-menu/FileeExplorerMenu.dll, build/.cache/explorer-menu/FileeExplorerMenu.msix "${{ env.PUBLISH_DIR }}"
+
# Only the small rhwp is bundled. LibreOffice (+ H2Orestart, Java) and Pandoc are large and are downloaded by
# the app when the user picks them (first-run setup or Settings > Engines), see engines.json.
- - name: Bundle conversion engines (rhwp)
+ - name: Bundle conversion engines (rhwp, 7-Zip)
shell: pwsh
- run: ./build/fetch-engines.ps1 -Only rhwp -Destination "${{ env.PUBLISH_DIR }}/engines"
+ run: ./build/fetch-engines.ps1 -Only rhwp,7zip -Destination "${{ env.PUBLISH_DIR }}/engines"
- name: Install Velopack CLI
run: dotnet tool install -g vpk