We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Access is denied
1 parent c9663a3 commit fae07e4Copy full SHA for fae07e4
arduino/resources/install.go
@@ -91,7 +91,10 @@ func (release *DownloadResource) Install(downloadDir, tempPath, destDir *paths.P
91
92
// Move/rename the extracted root directory in the destination directory
93
if err := root.Rename(destDir); err != nil {
94
- return fmt.Errorf(tr("moving extracted archive to destination dir: %s", err))
+ // Copy the extracted root directory to the destination directory, if move failed
95
+ if err := root.CopyDirTo(destDir); err != nil {
96
+ return fmt.Errorf(tr("moving extracted archive to destination dir: %s", err))
97
+ }
98
}
99
100
// TODO
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments