21 lines
411 B
Go
21 lines
411 B
Go
package action
|
|
|
|
import (
|
|
. "ios-wrapper/internal/wrapper/ofile"
|
|
)
|
|
|
|
type removeCodeSignature struct{}
|
|
|
|
func (action *removeCodeSignature) withMacho(mf *MachoFile) error {
|
|
mf.Context().RemoveCodesign()
|
|
return nil
|
|
}
|
|
|
|
func (action *removeCodeSignature) withFat(ff *FatFile) error {
|
|
return defaultWithFat(action, ff)
|
|
}
|
|
|
|
func NewRemoveCodeSignatureAction() *removeCodeSignature {
|
|
return &removeCodeSignature{}
|
|
}
|