Skip to content

Commit 4ff2c7d

Browse files
committed
Update build gradle
1 parent 6384634 commit 4ff2c7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ android {
3030
buildConfigField "String", "SETUP_INSTRUCTIONS_URL", "\"https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki\""
3131
}
3232

33-
if (new File("keystore/signing.properties").exists()) {
33+
def hasPropertiesFile = new File("app/keystore/signing.properties").exists()
34+
if (hasPropertiesFile) {
3435
Properties props = new Properties()
35-
props.load(new FileInputStream(file("signing.properties")))
36+
props.load(new FileInputStream(file("keystore/signing.properties")))
3637

3738
signingConfigs {
3839
release {

0 commit comments

Comments
 (0)