Skip to content

Commit f07a7aa

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/vite-bundler-improvements
2 parents f2f9891 + 0d30b7d commit f07a7aa

6 files changed

Lines changed: 24 additions & 17 deletions

File tree

.github/workflows/codeql-advanced.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
6161
steps:
6262
- name: Checkout repository
63-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
63+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6464

6565
# Add any setup steps before running the `github/codeql-action/init` action.
6666
# This includes steps like installing compilers or runtimes (`actions/setup-node`
@@ -70,7 +70,7 @@ jobs:
7070

7171
# Initializes the CodeQL tools for scanning.
7272
- name: Initialize CodeQL
73-
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
73+
uses: github/codeql-action/init@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1
7474
with:
7575
languages: ${{ matrix.language }}
7676
build-mode: ${{ matrix.build-mode }}
@@ -98,6 +98,6 @@ jobs:
9898
exit 1
9999
100100
- name: Perform CodeQL Analysis
101-
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
101+
uses: github/codeql-action/analyze@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1
102102
with:
103103
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: 'Checkout Repository'
20-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4.3.0
20+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4.3.0
2121
- name: 'Dependency Review'
22-
uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
22+
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0

.github/workflows/npm_release_cli.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
steps:
4141
- name: Harden the runner (Audit all outbound calls)
42-
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
42+
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
4343
with:
4444
egress-policy: audit
4545

46-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
46+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
4747
with:
4848
fetch-depth: 0
4949
token: ${{ secrets.GITHUB_TOKEN }}
@@ -115,7 +115,7 @@ jobs:
115115
NPM_TAG: ${{needs.build.outputs.npm_tag}}
116116
steps:
117117
- name: Harden the runner (Audit all outbound calls)
118-
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
118+
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
119119
with:
120120
egress-policy: audit
121121

@@ -166,11 +166,11 @@ jobs:
166166
NPM_VERSION: ${{needs.build.outputs.npm_version}}
167167
steps:
168168
- name: Harden the runner (Audit all outbound calls)
169-
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
169+
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
170170
with:
171171
egress-policy: audit
172172

173-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
173+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
174174
with:
175175
fetch-depth: 0
176176
ref: v${{needs.build.outputs.npm_version}}

.github/workflows/npm_release_doctor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
steps:
2525

2626
- name: Harden the runner (Audit all outbound calls)
27-
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
27+
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
2828
with:
2929
egress-policy: audit
3030

31-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
31+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3232

3333
- name: Setup
3434
run: npm install

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434

3535
- name: "Checkout code"
36-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v4.3.0
36+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4.3.0
3737
with:
3838
persist-credentials: false
3939

@@ -68,6 +68,6 @@ jobs:
6868

6969
# Upload the results to GitHub's code scanning dashboard.
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
71+
uses: github/codeql-action/upload-sarif@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1
7272
with:
7373
sarif_file: results.sarif

lib/common/mobile/android/android-emulator-services.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getCurrentEpochTime, sleep } from "../../helpers";
33
import { EOL } from "os";
44
import * as _ from "lodash";
55
import { LoggerConfigData } from "../../../constants";
6-
import { IChildProcess, IUtils } from "../../declarations";
6+
import { IChildProcess, IUserSettingsService, IUtils } from "../../declarations";
77
import { injector } from "../../yok";
88
import * as semver from "semver";
99

@@ -18,6 +18,7 @@ export class AndroidEmulatorServices
1818
private $emulatorHelper: Mobile.IEmulatorHelper,
1919
private $logger: ILogger,
2020
private $utils: IUtils,
21+
private $userSettingsService: IUserSettingsService,
2122
) {}
2223

2324
public async getEmulatorImages(): Promise<Mobile.IEmulatorImagesOutput> {
@@ -154,7 +155,7 @@ export class AndroidEmulatorServices
154155
};
155156
}
156157

157-
this.spawnEmulator(emulator);
158+
await this.spawnEmulator(emulator);
158159

159160
const isInfiniteWait = this.$utils.getMilliSecondsTimeout(timeout) === 0;
160161
let hasTimeLeft = getCurrentEpochTime() < endTimeEpoch;
@@ -186,7 +187,7 @@ export class AndroidEmulatorServices
186187
}
187188
}
188189

189-
private spawnEmulator(emulator: Mobile.IDeviceInfo): void {
190+
private async spawnEmulator(emulator: Mobile.IDeviceInfo) {
190191
let pathToEmulatorExecutable = null;
191192
let startEmulatorArgs = null;
192193
if (emulator.vendor === AndroidVirtualDevice.AVD_VENDOR_NAME) {
@@ -195,6 +196,12 @@ export class AndroidEmulatorServices
195196
startEmulatorArgs = this.$androidVirtualDeviceService.startEmulatorArgs(
196197
emulator.imageIdentifier,
197198
);
199+
try {
200+
const additionalArgs = await this.$userSettingsService.getSettingValue<string[]>("androidEmulatorStartArgs");
201+
if (additionalArgs?.length) {
202+
startEmulatorArgs.push(...additionalArgs);
203+
}
204+
} catch (error) {}
198205
} else if (
199206
emulator.vendor === AndroidVirtualDevice.GENYMOTION_VENDOR_NAME
200207
) {

0 commit comments

Comments
 (0)