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
|
Windows
|
||||||
```powershell
|
```powershell
|
||||||
Get-ChildItem "unshackle/services" -Recurse -Filter *.py |
|
Get-ChildItem -Path "unshackle/services" -Recurse -Filter *.py -File |
|
||||||
ForEach-Object {
|
ForEach-Object {
|
||||||
(Get-Content -Raw $_) -replace 'from devine', 'from unshackle' |
|
$f = $_.FullName
|
||||||
Set-Content $_
|
(Get-Content -Raw -LiteralPath $f) -replace 'from devine', 'from unshackle' |
|
||||||
|
Set-Content -LiteralPath $f
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
MacOS
|
MacOS
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user