Skip to content

Commit

Permalink
Fix crash on empty input (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolson authored Nov 4, 2024
1 parent 835fdff commit beff6d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AppSigner/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,10 @@ class MainView: NSView, URLSessionDataDelegate, URLSessionDelegate, URLSessionDo

@objc func startSigning() {
let inputFile = InputFileText.stringValue
if (inputFile.count < 4) {
return
}

if inputFile.pathExtension.lowercased() == "appex" {
outputFile = inputFile
} else {
Expand Down

0 comments on commit beff6d9

Please sign in to comment.