@medplum/agent 2.1.13 → 2.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ {"type": "commonjs"}
package/installer.nsi CHANGED
@@ -165,11 +165,21 @@ Function InstallApp
165
165
  ExecWait "shawl-v1.3.0-win64.exe add --name $\"${SERVICE_NAME}$\" -- $\"$INSTDIR\medplum-agent-win-x64.exe$\" $\"$baseUrl$\" $\"$clientId$\" $\"$clientSecret$\" $\"$agentId$\"" $1
166
166
  DetailPrint "Exit code $1"
167
167
 
168
+ # Set service display name
169
+ DetailPrint "Setting service display name..."
170
+ ExecWait "sc.exe config $\"${SERVICE_NAME}$\" displayname= $\"${APP_NAME}$\"" $1
171
+ DetailPrint "Exit code $1"
172
+
168
173
  # Set service description
169
174
  DetailPrint "Setting service description..."
170
175
  ExecWait "sc.exe description $\"${SERVICE_NAME}$\" $\"Securely connects local devices to ${COMPANY_NAME} cloud$\"" $1
171
176
  DetailPrint "Exit code $1"
172
177
 
178
+ # Set service to start automatically
179
+ DetailPrint "Setting service to start automatically..."
180
+ ExecWait "sc.exe config $\"${SERVICE_NAME}$\" start= auto" $1
181
+ DetailPrint "Exit code $1"
182
+
173
183
  # Start the service
174
184
  DetailPrint "Starting service..."
175
185
  ExecWait "sc.exe start $\"${SERVICE_NAME}$\"" $1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/agent",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "description": "Medplum Agent",
5
5
  "homepage": "https://www.medplum.com/",
6
6
  "repository": {