Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
d1ce62d
update deps
develar Oct 22, 2019
5fdf622
cleanup
develar Oct 22, 2019
1897b39
feat: add WSL (Windows Subsystem for Linux) support (#21)
SomaticIT Nov 27, 2019
6dea861
chore: update deps
develar Nov 27, 2019
dfe6902
feat: update zstd to 1.4.4
develar Nov 27, 2019
5bc0ab3
chore: update deps
develar Jan 21, 2020
f2b2c8b
chore: update deps
develar Mar 3, 2020
05b559c
fix: Amazon S3 region detection seems to be broken
develar Mar 3, 2020
ad32971
feat: winCodeSign
develar Mar 3, 2020
2fb48e0
Create LICENSE
develar Mar 23, 2020
236a97a
fix(linux): remove libappindicator-sharp from pacman dependency list …
alexhenrie Apr 7, 2020
47c3e0a
feat: add ability to set custom CA roots (#28)
passy Apr 7, 2020
921a8e0
fix: allow snapcraft version edge
develar Apr 1, 2020
8e093d5
fix: do not use ldflags for windows 386 due to false virus detection …
develar May 14, 2020
b857403
fix: binary plist to XMLFormat (#34)
wgcv May 14, 2020
8bef6b3
fix: If downloading fails and a "custom" RootCA was declared in TLSCl…
slhultgren Jul 27, 2020
1cceb8f
chore: update deps
develar Jul 27, 2020
014d570
fix: not wrapping exec command with node unless it's a js file (#44)
wavesoft Oct 19, 2020
07239b5
fix(snap): remove incorrect usage of --target-arch for snapcraft (#41)
cjp256 Dec 14, 2020
7efea16
Proper error handling & fixing a minor bug when parsing hashbang (#45)
wavesoft Dec 14, 2020
a465281
chore: update deps
develar Dec 14, 2020
d8b8807
fix: instruct prebuild-install to download napi builds for dependenci…
Julusian Mar 1, 2021
595bb30
fix: Use 32-bit (ia32) app-builder.exe on Windows ARM64 (#50)
dennisameling Mar 1, 2021
44a729a
Snaps: Fix symlinked XDG_SPECIAL_DIRS in HOME (#48)
Mar 1, 2021
1894c76
chore: update deps
develar Mar 1, 2021
c793457
Change libappindicator dependency to recommendation (#53)
mimi89999 Mar 22, 2021
46e41a0
Add support for darwin arm64 (#60)
adamsmasher Jun 28, 2021
35da8b3
chore: update version
develar Jun 28, 2021
04863f1
fix: mac x64 arch
develar Jun 28, 2021
4dbd42f
feat: add env DISABLE_MULTIPART_DOWNLOADING to force downloading arti…
develar Jul 3, 2021
4e5877e
feat: optionally support LZO compression for snap (#65)
om26er Aug 29, 2021
b44c187
chore: update deps
develar Aug 29, 2021
e229f41
fix: check whole hashbang line if it is /usr/bin/env (#66)
Alduino Sep 14, 2021
c24d1b5
feat: zstd 1.5.0, AppImage runtime 13, mksquashfs 4.5.0 with LZO and …
develar Sep 14, 2021
695647b
Update appImage.go (#77)
mmaietta Mar 3, 2022
2ac6d52
chore: update deps
develar Mar 3, 2022
7e5f330
fix(download): download failed when using ELECTRON_MIRROR (#74)
bytemain Mar 9, 2022
4e2aa6a
chore: update deps
develar Mar 9, 2022
4015728
feat: add Linux riscv64 support (#90)
kxxt Sep 12, 2023
3b0c253
fix(node-modules): incorrect generation of napi_versions (#88)
BlackHole1 Sep 12, 2023
ae42805
Add Windows ARM64 support (#79)
Sep 12, 2023
23e701c
Use snapcraft upload instead of push (#80)
mquevill Sep 12, 2023
c92c3a2
fix: Return size info when converting icon (#71)
0xjac Sep 12, 2023
6c7d1e1
feat: Handle symlinks, support pnpm and monorepo, (#89)
rxliuli Sep 12, 2023
dadfa75
feat: zstd 1.5.5 (linux and windows)
develar Sep 12, 2023
696179f
fix: mksquashfs zstd support
develar Sep 12, 2023
0bc38fb
chore: add note about setting env for windows
develar Sep 12, 2023
85884f8
Add loong64 support
yzewei Jan 12, 2024
d45f97f
fix: Use config.mirror first before env variables for download URL
theogravity Feb 29, 2024
f4642dd
chore: adding test and release (dry-run) automation to project (#107)
mmaietta Mar 14, 2024
64f7e8c
triggering alpha release mode and always publishing first as 'next' tag
mmaietta Mar 14, 2024
7eb42e0
Merge branch 'master' into reorder-config-list
mmaietta Mar 14, 2024
9704964
adding changeset and merging in latest master
mmaietta Mar 14, 2024
52d809c
Merge branch 'master' into add-loongarch64-support
mmaietta Mar 14, 2024
3ed22df
adding changeset
mmaietta Mar 14, 2024
d91c632
fix: Use config.mirror first before env variables for download URL
mmaietta Mar 14, 2024
5649bc8
feat: Add loongarch64 support (#98)
mmaietta Mar 14, 2024
c15e9a7
updating changeset pre.json
mmaietta Mar 14, 2024
2a70fee
reset changelog file
mmaietta Mar 14, 2024
33cb6f9
chore(deploy): Release v5.0.0-alpha.0 (alpha) (#108)
github-actions[bot] Mar 14, 2024
b431059
add git-checks: false to publishConfig
mmaietta Mar 14, 2024
e53b84c
feat: add `CUSTOM_APP_BUILDER_PATH` for testing purposes as an altern…
mmaietta Mar 15, 2024
27a1f02
fix(snap): Parse user command line options as last values (#95)
3v1n0 Mar 15, 2024
64bb497
readding changeset
mmaietta Mar 15, 2024
82b7fe5
chore: migrating to macos runner for builds (#111)
mmaietta Mar 15, 2024
dbd6047
chore(deploy): Release v5.0.0-alpha.1 (alpha) (#110)
github-actions[bot] Mar 15, 2024
dc5dc6d
chore: delete stale bot workflow
mmaietta Mar 15, 2024
43f7a34
fix: revert appimage 13.0.1 to 13.0.0 due to miscompiled arch artifac…
mmaietta Mar 18, 2024
ccb1896
chore(deploy): Release v5.0.0-alpha.2 (alpha) (#114)
github-actions[bot] Mar 18, 2024
be4e7ec
feat: add flatten option to `node-dep-tree` for rendering dependency …
beyondkmp Apr 29, 2024
d0aa23a
chore(deploy): Release app-builder-bin@5.0.0-alpha.3 (alpha) (#117)
github-actions[bot] May 1, 2024
6a940e4
fix: alias name issue (such as for handling @electron/remote) (#119)
beyondkmp Jun 13, 2024
189519a
fix: change node module symlink to real path (#120)
beyondkmp Jun 16, 2024
ea95e30
chore(deploy): Release v5.0.0-alpha.4 (alpha) (#121)
github-actions[bot] Jun 25, 2024
94485c6
fix: hoist dependencies to the real parent (#118)
fabienr Jul 4, 2024
20feb29
fix: use correct compression args as mksquashfs (#123)
mmaietta Jul 18, 2024
7adca19
chore(deploy): Release v5.0.0-alpha.5 (alpha) (#122)
github-actions[bot] Jul 18, 2024
52ad062
fix(appimage): remove default and fix compression enums (#124)
mmaietta Jul 18, 2024
f721c14
chore(deploy): Release v5.0.0-alpha.6 (alpha) (#125)
github-actions[bot] Jul 18, 2024
f910175
fix: downgrade appimage 13.0.0->12.0.1
mmaietta Jul 30, 2024
82eeb34
chore(deploy): Release v5.0.0-alpha.7 (alpha) (#127)
github-actions[bot] Jul 30, 2024
1092684
fix: find the real parent node module (#132)
beyondkmp Sep 11, 2024
df4f272
feat: Support rpm package creation for OpenSUSE (#130)
tisoft Sep 11, 2024
ec28d83
chore(deploy): Release v5.0.0-alpha.8 (alpha) (#133)
github-actions[bot] Sep 12, 2024
82d3a96
fix: fix tar node module resolution and sort dependency tree (#134)
beyondkmp Sep 15, 2024
bbad893
feat: resolve all the pnpm issues without hoisted config (#136)
beyondkmp Sep 15, 2024
4bbc955
chore(deploy): Release v5.0.0-alpha.9 (alpha) (#135)
github-actions[bot] Sep 15, 2024
28db936
fix: pnpm install error (#138)
beyondkmp Sep 24, 2024
128737e
chore: Update extract logic for using newer 7zz/7zzs/7zr.exe binaries…
mmaietta Sep 24, 2024
dbedea0
chore(deploy): Release v5.0.0-alpha.10 (alpha) (#140)
github-actions[bot] Sep 24, 2024
0d13c80
fix: cannot find module (archiver-utils) due to `strings.HasPrefix` (…
beyondkmp Oct 15, 2024
d971224
chore(deploy): Release v5.0.0-alpha.11 (alpha) (#144)
github-actions[bot] Oct 15, 2024
a82e82c
feat: add s3ForcePathStyle option for s3 publisher (#146)
0xlau Nov 17, 2024
580c34f
chore(deploy): Release v5.0.0-alpha.12 (alpha) (#147)
github-actions[bot] Dec 12, 2024
9b2aaff
feat: adding env var for "dirname" to mirror the logic in electron-bu…
mmaietta Apr 23, 2025
b3207cc
fix: handle the table of content resource type correctly (#148)
emmanuel-deloget Apr 23, 2025
7004925
chore(deploy): Release v5.0.0-alpha.13 (alpha) (#152)
github-actions[bot] Apr 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "develar/app-builder" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/curly-parents-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: handle the table of content resource type correctly
5 changes: 5 additions & 0 deletions .changeset/early-dots-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: to resolve appimage issues in electron builder, and since we can't update electron-builder-binaries repo, we should just downgrade to the last working version of appimage
5 changes: 5 additions & 0 deletions .changeset/eleven-dryers-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix(snap): Parse user command line options as last values
5 changes: 5 additions & 0 deletions .changeset/five-badgers-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: pnpm install error for node module collector (https://github.com/electron-userland/electron-builder/issues/8519)
5 changes: 5 additions & 0 deletions .changeset/gold-hats-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: fix for handling native dependencies, such as `tar` node module
5 changes: 5 additions & 0 deletions .changeset/gorgeous-rabbits-sell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": minor
---

feat: allow providing env var for custom app-builder binary as opposed to accessing directly from the PATH env var
5 changes: 5 additions & 0 deletions .changeset/green-owls-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: alias name issue in node modules resolution dependency tree
5 changes: 5 additions & 0 deletions .changeset/healthy-flies-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": minor
---

feat: add s3ForcePathStyle option for s3 publisher
5 changes: 5 additions & 0 deletions .changeset/lovely-bugs-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

change node module symlink to real path
5 changes: 5 additions & 0 deletions .changeset/mean-dodos-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: find the real parent node module
5 changes: 5 additions & 0 deletions .changeset/old-monkeys-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": minor
---

Added support for OpenSUSE to rpm
5 changes: 5 additions & 0 deletions .changeset/orange-seahorses-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": major
---

chore: changing repo structure for release automation
32 changes: 32 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"app-builder-bin": "4.2.0"
},
"changesets": [
"curly-parents-peel",
"early-dots-repair",
"eleven-dryers-clean",
"five-badgers-greet",
"gold-hats-kneel",
"gorgeous-rabbits-sell",
"green-owls-train",
"healthy-flies-rescue",
"lovely-bugs-prove",
"mean-dodos-smoke",
"old-monkeys-drum",
"orange-seahorses-listen",
"real-clocks-cheer",
"rotten-fireants-flow",
"serious-lizards-invite",
"soft-doors-play",
"spicy-wasps-agree",
"strange-parrots-smoke",
"strange-pianos-move",
"tasty-houses-drum",
"tasty-humans-clean",
"twelve-islands-carry",
"unlucky-brooms-melt"
]
}
5 changes: 5 additions & 0 deletions .changeset/real-clocks-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: revert appimage 13.0.1 to 13.0.0 due to mksquash arch compilation issues
5 changes: 5 additions & 0 deletions .changeset/rotten-fireants-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: Use npm config.mirror first before env variables for download URL
5 changes: 5 additions & 0 deletions .changeset/serious-lizards-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix current mksquashfs version only allows xz and gzip compressions
5 changes: 5 additions & 0 deletions .changeset/soft-doors-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": minor
---

feat: adding env var for "dirname" to mirror the logic in electron-builder
5 changes: 5 additions & 0 deletions .changeset/spicy-wasps-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

feat: resolve all the pnpm issues without hostied config
5 changes: 5 additions & 0 deletions .changeset/strange-parrots-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: set correct compression enums and remove default
5 changes: 5 additions & 0 deletions .changeset/strange-pianos-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

chore: Update extract logic for using newer 7zz/7zzs/7zr.exe binaries
5 changes: 5 additions & 0 deletions .changeset/tasty-houses-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: hoist dependencies to the real parent in nodeModuleCollector
5 changes: 5 additions & 0 deletions .changeset/tasty-humans-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": minor
---

feat: Add loongarch64 support
5 changes: 5 additions & 0 deletions .changeset/twelve-islands-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": minor
---

feat: add flatten option to `node-dep-tree` for rendering dependency conflicts in a different manner
5 changes: 5 additions & 0 deletions .changeset/unlucky-brooms-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-bin": patch
---

fix: cannot find module(archiver-utils)
44 changes: 44 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: 'pnpm installation'
description: 'Install and audit dependencies via pnpm'
inputs:
version: # id of input
description: 'The pnpm version to use'
required: false
default: 8.9.0

runs:
using: 'composite'
steps:
- name: Setup pnpm
uses: pnpm/action-setup@a3252b78c470c02df07e9d59298aecedc3ccdd6d # v3.0.0
with:
version: ${{ inputs.version }}

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Install go packages
run: go install && go install -a -v github.com/go-bindata/go-bindata/...@latest
shell: bash

- name: Setup node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: '18'
cache: 'pnpm'

- name: Install yarn
run: pnpm install -g yarn
shell: bash

- name: Install dependencies
run: pnpm install --frozen-lockfile
shell: bash

## Usage
# - name: install and audit
# uses: ./.github/actions/pnpm
# with:
# version: ${{ env.PNPM_VERSION }}
42 changes: 42 additions & 0 deletions .github/workflows/pr-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release

on:
push:
branches:
- master

permissions: {}
jobs:
pr-release:
permissions:
contents: write # to create release (changesets/action)
pull-requests: write # to create pull request (changesets/action)

timeout-minutes: 15
runs-on: macos-latest
steps:
- name: Checkout code repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

- name: Install deps and audit
uses: ./.github/actions/setup

- name: Set up NPM credentials
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create versions PR & prepare publish
id: changesets
uses: changesets/action@v1
with:
version: pnpm ci:version
commit: 'chore(deploy): Release'
title: 'chore(deploy): Release'
publish: pnpm ci:publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
24 changes: 24 additions & 0 deletions .github/workflows/semantic-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Semantic Versioning enforcer"

on:
pull_request_target:
types:
- opened
- edited
- synchronize

permissions:
contents: read

jobs:
main:
permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
runs-on: ubuntu-latest
steps:
# Please look up the latest version from
# https://github.com/amannn/action-semantic-pull-request/releases
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29 changes: 29 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
push:
branches:
master
pull_request:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

jobs:

build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3

- name: Setup and install deps
uses: ./.github/actions/setup

- name: Test
run: make test

- name: Build
run: make build-all
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
dist/
vendor/

app-builder-bin/readme.md
app-builder-bin/**/app-builder
app-builder-bin/win/**/app-builder.exe

/.idea/shelf/
/.idea/shelf/
node_modules/
mac/
win/
linux/
app-builder
17 changes: 7 additions & 10 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
linters:
enable-all: true
enable:
# - bodyclose
- gocyclo
# - prealloc
- unconvert
- unparam
disable:
- golint
- gochecknoglobals
- prealloc
- gofmt
- lll
- bodyclose
- goimports
- funlen
- goconst # todo
- structcheck
25 changes: 0 additions & 25 deletions .goreleaser.yml

This file was deleted.

Loading