mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-03-12 17:39:01 +00:00
Updated Migration from Devine (markdown)
@@ -8,11 +8,13 @@ find unshackle/services/ -type f -name "*.py" -exec sed -i 's/from devine/from u
|
||||
```
|
||||
Windows
|
||||
```powershell
|
||||
Get-ChildItem "unshackle/services" -Recurse -Filter *.py |
|
||||
Get-ChildItem -Path "unshackle/services" -Recurse -Filter *.py -File |
|
||||
ForEach-Object {
|
||||
(Get-Content -Raw $_) -replace 'from devine', 'from unshackle' |
|
||||
Set-Content $_
|
||||
$f = $_.FullName
|
||||
(Get-Content -Raw -LiteralPath $f) -replace 'from devine', 'from unshackle' |
|
||||
Set-Content -LiteralPath $f
|
||||
}
|
||||
|
||||
```
|
||||
MacOS
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user