Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 41c5101

Browse files
committed
add constant to c# code
1 parent e5e09db commit 41c5101

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

windows/CodePushNativeModule.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public override IReadOnlyDictionary<string, object> Constants
4040
{ "codePushInstallModeImmediate", InstallMode.Immediate },
4141
{ "codePushInstallModeOnNextResume", InstallMode.OnNextResume },
4242
{ "codePushInstallModeOnNextRestart", InstallMode.OnNextRestart },
43+
{ "codePushInstallModeOnNextRestartOpportunity", InstallMode.OnNextRestartOpportunity },
4344
{ "codePushUpdateStateRunning", UpdateState.Running },
4445
{ "codePushUpdateStatePending", UpdateState.Pending },
4546
{ "codePushUpdateStateLatest", UpdateState.Lastest },

windows/InstallMode.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ enum InstallMode
44
{
55
Immediate,
66
OnNextRestart,
7-
OnNextResume
7+
OnNextResume,
8+
OnNextRestartOpportunity
89
}
910
}

0 commit comments

Comments
 (0)